Merge pull request #277 from al-cheb/al-cheb/add_upx

Add upx on Ubuntu 16.04/18.04
This commit is contained in:
Alejandro Pauly
2020-01-20 10:55:12 -05:00
committed by GitHub
2 changed files with 7 additions and 1 deletions

View File

@@ -31,6 +31,7 @@ apt-fast install -y --no-install-recommends \
telnet \ telnet \
time \ time \
unzip \ unzip \
upx \
wget \ wget \
zip \ zip \
tzdata tzdata
@@ -54,7 +55,7 @@ apt-fast install -y --no-install-recommends \
# Run tests to determine that the software installed as expected # Run tests to determine that the software installed as expected
echo "Testing to make sure that script performed as expected, and basic scenarios work" echo "Testing to make sure that script performed as expected, and basic scenarios work"
for cmd in curl file ftp jq netcat ssh rsync shellcheck sudo telnet time unzip wget zip; do for cmd in curl file ftp jq netcat ssh rsync shellcheck sudo telnet time unzip upx wget zip; do
if ! command -v $cmd; then if ! command -v $cmd; then
echo "$cmd was not installed" echo "$cmd was not installed"
exit 1 exit 1
@@ -83,6 +84,7 @@ DocumentInstalledItemIndent "sudo"
DocumentInstalledItemIndent "telnet" DocumentInstalledItemIndent "telnet"
DocumentInstalledItemIndent "time" DocumentInstalledItemIndent "time"
DocumentInstalledItemIndent "unzip" DocumentInstalledItemIndent "unzip"
DocumentInstalledItemIndent "upx"
DocumentInstalledItemIndent "wget" DocumentInstalledItemIndent "wget"
DocumentInstalledItemIndent "zip" DocumentInstalledItemIndent "zip"
DocumentInstalledItemIndent "tzdata" DocumentInstalledItemIndent "tzdata"

View File

@@ -61,6 +61,9 @@ apt-get install -y --no-install-recommends time
echo "Install unzip" echo "Install unzip"
apt-get install -y --no-install-recommends unzip apt-get install -y --no-install-recommends unzip
echo "Install upx"
apt-get install -y --no-install-recommends upx
echo "Install wget" echo "Install wget"
apt-get install -y --no-install-recommends wget apt-get install -y --no-install-recommends wget
@@ -146,6 +149,7 @@ DocumentInstalledItemIndent "sudo"
DocumentInstalledItemIndent "telnet" DocumentInstalledItemIndent "telnet"
DocumentInstalledItemIndent "time" DocumentInstalledItemIndent "time"
DocumentInstalledItemIndent "unzip" DocumentInstalledItemIndent "unzip"
DocumentInstalledItemIndent "upx"
DocumentInstalledItemIndent "wget" DocumentInstalledItemIndent "wget"
DocumentInstalledItemIndent "zip" DocumentInstalledItemIndent "zip"
DocumentInstalledItemIndent "tzdata" DocumentInstalledItemIndent "tzdata"