[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

#298152: checkinstall: incorrectly sets Arch:x86_64 for .deb under amd64



Attached patch will deal with amd64 in the same way as with ppc.

-- 
Regards,
        Sasha.
Alexandra N. Kossovsky, software engineer.
e-mail: sasha@sanechka.spb.ru
--- checkinstall.old	2005-06-12 22:44:24.311870357 +0400
+++ checkinstall	2005-06-12 22:45:36.265687623 +0400
@@ -1144,11 +1144,14 @@
 fi                                    # i386, i486, i586 or i686.
                                       # You can change this with "--arch"
 
-   # Fix the PowerPC architecture description if we're on Debian
+   # Fix the PowerPC & Amd64 architectures description if we're on Debian
    
    if [ "$CK_DEBIAN" = "1" ] && [ "$ARCHITECTURE" = "ppc" ]; then
       ARCHITECTURE="powerpc"
    fi
+   if [ "$CK_DEBIAN" = "1" ] && [ "$ARCHITECTURE" = "x86_64" ]; then
+      ARCHITECTURE="amd64"
+   fi
       
 
    OPTION=junk

Reply to: