File: scripts___binstamp.patch

package info (click to toggle)
crack 5.0a-19
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,248 kB
  • sloc: ansic: 7,445; perl: 1,375; sh: 1,066; makefile: 216
file content (22 lines) | stat: -rw-r--r-- 560 bytes parent folder | download
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 ;;