mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
system/john: Change i486 to i586
This commit is contained in:
parent
6c4da4f882
commit
a0229ad77b
1 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ PKGTYPE=${PKGTYPE:-tgz}
|
|||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
i?86) ARCH=i586 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
|
@ -41,7 +41,7 @@ TMP=${TMP:-/tmp/SBo}
|
|||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
if grep -q ^flags.*avx /proc/cpuinfo; then
|
||||
TARGET=linux-x86-avx
|
||||
elif grep -q ^flags.*sse2 /proc/cpuinfo; then
|
||||
|
|
Loading…
Reference in a new issue