1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
Description: Disable architecture handling
Patch imported from .diff.gz of crack 5.0a-9.4
Author: Axel Beckert <abe@debian.org>
Forwarded: not-needed
Last-Update: 2016-10-10
--- crack-5.0a.orig/scripts/binstamp
+++ crack-5.0a/scripts/binstamp
@@ -14,6 +14,13 @@
RELEASE=`uname -r`
ARCH=`uname -p || arch || uname -m`
+# For Debian we do *not* want architectures, this is handled
+# by the different packages
+if [ -f /etc/debian_version ] ; then
+ echo "debian"
+ exit 0
+fi
+
case $ARCH in
i486) ARCH=i386 ;;
x86) ARCH=i386 ;;
|