1
0
mirror of synced 2024-11-22 13:06:02 +03:00

Make sure basic commands exist

This commit is contained in:
hwdsl2 2016-04-22 11:52:33 -05:00
parent 90391edcce
commit 4003b82485
3 changed files with 8 additions and 4 deletions

View File

@ -66,10 +66,13 @@ fi
mkdir -p /opt/src
cd /opt/src || { echo "Failed to change working dir to /opt/src. Aborting."; exit 1; }
# Update package index and install Wget and dig (dnsutils)
# Update package index
export DEBIAN_FRONTEND=noninteractive
apt-get -y update
# Make sure basic commands exist
apt-get -y install wget dnsutils
apt-get -y install iproute gawk grep sed net-tools
echo
echo 'Trying to find Public/Private IP of this server...'
@ -106,7 +109,7 @@ fi
# Install necessary packages
apt-get -y install libnss3-dev libnspr4-dev pkg-config libpam0g-dev \
libcap-ng-dev libcap-ng-utils libselinux1-dev \
libcurl4-nss-dev flex bison gcc make sed \
libcurl4-nss-dev flex bison gcc make \
libunbound-dev libnss3-tools libevent-dev
apt-get -y --no-install-recommends install xmlto
apt-get -y install xl2tpd

View File

@ -78,8 +78,9 @@ fi
mkdir -p /opt/src
cd /opt/src || { echo "Failed to change working dir to /opt/src. Aborting."; exit 1; }
# Install Wget and dig (bind-utils)
# Make sure basic commands exist
yum -y install wget bind-utils
yum -y install iproute gawk grep sed net-tools
echo
echo 'Trying to find Public/Private IP of this server...'

View File

@ -95,7 +95,7 @@ apt-get -y install wget
# Install necessary packages
apt-get -y install libnss3-dev libnspr4-dev pkg-config libpam0g-dev \
libcap-ng-dev libcap-ng-utils libselinux1-dev \
libcurl4-nss-dev flex bison gcc make sed \
libcurl4-nss-dev flex bison gcc make \
libunbound-dev libnss3-tools libevent-dev
apt-get -y --no-install-recommends install xmlto