Skip to content

Commit

Permalink
Update sentora_update.sh
Browse files Browse the repository at this point in the history
Fixed syntax issues with update not working
  • Loading branch information
Dukecitysolutions committed Dec 1, 2023
1 parent 159a4db commit fc534ab
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions sentora_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ elif [[ "$OS" = "Ubuntu" || "$OS" = "debian" ]]; then
fi
fi


# ***************************************
# Sentora Installation/Update really starts here
# ***************************************
Expand Down Expand Up @@ -275,7 +274,7 @@ if [[ "$OS" = "CentOs" ]]; then
if [[ "$VER" == "8" ]]; then
systemctl enable "$HTTP_SERVICE.service"
systemctl start "$HTTP_SERVICE.service"
elif [[ "$OS" = "Ubuntu" ]];
else [[ "$OS" = "Ubuntu" ]];
chkconfig "$HTTP_SERVICE" on
"/etc/init.d/$HTTP_SERVICE" start
fi
Expand All @@ -284,7 +283,7 @@ fi
# Disable PHP EOL message for snuff in apache evrvars file
if [[ "$OS" = "CentOs" ]]; then

#
echo 'will add later for Centos'

else
echo '' >> /etc/apache2/envvars
Expand All @@ -293,14 +292,6 @@ else
fi










# -------------------------------------------------------------------------------
# ProFTPd Below
# -------------------------------------------------------------------------------
Expand Down

0 comments on commit fc534ab

Please sign in to comment.