remove rogue character

This commit is contained in:
ducoterra
2018-10-01 09:04:55 -04:00
parent 650002bfe8
commit 832386ff47

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 1>> $aptlogloc 2>> $aptlogloc 3>> $aptlogloc
apt update 1> $aptlogloc 2>> $aptlogloc 3>> $aptlogloc
for package in ${packages[@]};
do
echo -e "\tInstalling $package"
@@ -38,7 +38,7 @@ done
ports=(22 80 443)
for port in ${ports[@]};
do
echo -e "ufw allow $port/tcp" > 1>> $firelogloc 2>> $firelogloc
echo -e "ufw allow $port/tcp" 1>> $firelogloc 2>> $firelogloc
ufw allow $port/tcp 1>> $firelogloc 2>> $firelogloc
if [ $? -ne 0 ] ; then
echo -e "\tfirewall failed to update port $port correctly. $firelogmsg"