diff options
Diffstat (limited to 'metasploit-framework/metasploit-framework.SlackBuild')
| -rw-r--r-- | metasploit-framework/metasploit-framework.SlackBuild | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/metasploit-framework/metasploit-framework.SlackBuild b/metasploit-framework/metasploit-framework.SlackBuild index abd29ff..2fb4dc3 100644 --- a/metasploit-framework/metasploit-framework.SlackBuild +++ b/metasploit-framework/metasploit-framework.SlackBuild @@ -47,13 +47,15 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then exit 0 fi -# Upstream only has binary support for x86_64 at present. -if [ "$ARCH" = "x86_64" ]; then - DEBARCH="amd64" -else - echo "Sorry, the metasploit-framework binaries are currently available for x86_64 only." +# Upstream ships binaries for x86_64 and i386. +case "$ARCH" in + x86_64) DEBARCH="amd64" ;; + i?86) DEBARCH="i386" ;; + *) + echo "Sorry, the metasploit-framework binaries are currently available for x86_64 and i386 only." exit 1 -fi + ;; +esac set -e |
