push apt output to log

This commit is contained in:
ducoterra
2018-09-30 19:19:40 -04:00
parent 333bf8f3c2
commit 650002bfe8

View File

@@ -23,7 +23,7 @@ fi
# install dependencies
packages=(gcc wget nginx ufw make sqlite3 bzip2 openssl libffi-dev libssl-dev libsqlite3-dev zlib1g-dev libbz2-dev libpq-dev)
echo -e "\tRunning apt update"
apt update
apt update 1>> $aptlogloc 2>> $aptlogloc 3>> $aptlogloc
for package in ${packages[@]};
do
echo -e "\tInstalling $package"