don't need to touch files

This commit is contained in:
ducoterra
2018-09-28 21:37:04 -04:00
parent 3b07478579
commit 39ab8ec83a

View File

@@ -25,7 +25,6 @@ packages=(gcc wget nginx ufw make sqlite3 bzip2 openssl libffi-dev libssl-dev li
for package in ${packages[@]};
do
echo -e "\tInstalling $package"
touch $aptlogloc
apt install -y $package 1>> $aptlogloc 2>> $aptlogloc 3>> $aptlogloc
if [ $? -ne 0 ] ; then
echo -e "apt failed to install $package. $aptlogmsg"