summaryrefslogtreecommitdiffstats
path: root/network/metasploit
diff options
context:
space:
mode:
author fourtysixandtwo2022-03-19 03:45:53 +0100
committer B. Watson2022-06-07 08:23:28 +0200
commit57271b604f6051d59c1f1dfb3215cd8163d10868 (patch)
tree18e650590d5f9609a6634da14f89fd33fecbe8a4 /network/metasploit
parent4f9ae2b4919e4e44875c9642023bcae0ee231bf4 (diff)
downloadslackbuilds-57271b604f6051d59c1f1dfb3215cd8163d10868.tar.gz
network/metasploit: Change i486 to i586
Diffstat (limited to 'network/metasploit')
-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=""