Skip to content

Commit

Permalink
update apt package
Browse files Browse the repository at this point in the history
  • Loading branch information
Lozy committed Jan 17, 2017
1 parent 7c22078 commit 298c564
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions install_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,10 @@ download_file "script/sockctl" "${BIN_SCRIPT}" "execute"

[ -n "$COLOR_PATH" ] && [ ! -s "$COLOR_PATH" ] && download_file "script/color" $COLOR_PATH && . $COLOR_PATH

########################################## DEBIAN 8 #####################################################################
########################################## DEBIAN 8 ####################################################################
apt-get update
apt-get install unzip apache2-utils -y

mkdir -p /tmp/danted && rm /tmp/danted/* -rf && cd /tmp/danted

id sockd > /dev/null 2>&1 || useradd sockd -s /bin/false
Expand All @@ -249,8 +252,7 @@ if [ ! -s /lib/security/pam_pwdfile.so ];then
fi

if [ "$INSTALL_FROM" == "compile" ];then
apt-get update
apt-get install gcc g++ make vim libpam-dev libwrap0-dev unzip apache2-utils -y
apt-get install gcc g++ make libpam-dev libwrap0-dev -y

download_file "source/dante-${VERSION}.tar.gz" "dante-${VERSION}.tar.gz"

Expand Down

0 comments on commit 298c564

Please sign in to comment.