don't need to touch files
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user