summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 20:45:53 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:28 -0400
commit57271b604f6051d59c1f1dfb3215cd8163d10868 (patch)
tree18e650590d5f9609a6634da14f89fd33fecbe8a4
parent4f9ae2b4919e4e44875c9642023bcae0ee231bf4 (diff)
downloadslackbuilds-57271b604f6051d59c1f1dfb3215cd8163d10868.tar.gz
network/metasploit: Change i486 to i586
-rw-r--r--network/metasploit/metasploit.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/network/metasploit/metasploit.SlackBuild b/network/metasploit/metasploit.SlackBuild
index d8edbd1405..54eea6ee79 100644
--- a/network/metasploit/metasploit.SlackBuild
+++ b/network/metasploit/metasploit.SlackBuild
@@ -36,7 +36,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
@@ -79,7 +79,7 @@ elif ! grep ^postgres: /etc/passwd 2>&1 > /dev/null; then
exit 1
fi
-if [ "$ARCH" = "i486" ]; then
+if [ "$ARCH" = "i586" ]; then
INSTALLERARCH=""
elif [ "$ARCH" = "i686" ]; then
INSTALLERARCH=""