diff --git a/external/installer-linux/build.sh b/external/installer-linux/build.sh index b7bf4f2e9c..6d226a6291 100755 --- a/external/installer-linux/build.sh +++ b/external/installer-linux/build.sh @@ -23,8 +23,10 @@ cp tmp/msf3.tar tmp32/ cp bin/linux32.tar.bz2 tmp32/metasploit.tar.bz2 bunzip2 tmp32/metasploit.tar.bz2 cp -a scripts/*.sh tmp32/ -makeself tmp32 ${PATH32} "${NAME32}" ./installer.sh 32 -rm -rf tmp32 +TMP32=tmp32`date +%s1` +mv tmp32 $TMP32 +makeself $TMP32 ${PATH32} "${NAME32}" ./installer.sh 32 +rm -rf $TMP32 rm -rf tmp64 mkdir tmp64 @@ -32,6 +34,8 @@ cp tmp/msf3.tar tmp64/ cp bin/linux64.tar.bz2 tmp64/metasploit.tar.bz2 bunzip2 tmp64/metasploit.tar.bz2 cp -a scripts/*.sh tmp64/ -makeself tmp64 ${PATH64} "${NAME64}" ./installer.sh 64 -rm -rf tmp64 +TMP64=tmp32`date +%s1` +mv tmp64 $TMP64 +makeself $TMP64 ${PATH64} "${NAME64}" ./installer.sh 64 +rm -rf $TMP64 diff --git a/external/installer-linux/scripts/installer.sh b/external/installer-linux/scripts/installer.sh index b66440425a..05aa7303cb 100755 --- a/external/installer-linux/scripts/installer.sh +++ b/external/installer-linux/scripts/installer.sh @@ -82,6 +82,7 @@ fi echo "Would you like to update Metasploit right now?" confirm "Update?" if [ $? -eq "1" ]; then + echo "" /opt/metasploit3/bin/msfupdate echo "" fi