Skip to content

Commit fc534ab

Browse files
Update sentora_update.sh
Fixed syntax issues with update not working
1 parent 159a4db commit fc534ab

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

sentora_update.sh

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ elif [[ "$OS" = "Ubuntu" || "$OS" = "debian" ]]; then
193193
fi
194194
fi
195195

196-
197196
# ***************************************
198197
# Sentora Installation/Update really starts here
199198
# ***************************************
@@ -275,7 +274,7 @@ if [[ "$OS" = "CentOs" ]]; then
275274
if [[ "$VER" == "8" ]]; then
276275
systemctl enable "$HTTP_SERVICE.service"
277276
systemctl start "$HTTP_SERVICE.service"
278-
elif [[ "$OS" = "Ubuntu" ]];
277+
else [[ "$OS" = "Ubuntu" ]];
279278
chkconfig "$HTTP_SERVICE" on
280279
"/etc/init.d/$HTTP_SERVICE" start
281280
fi
@@ -284,7 +283,7 @@ fi
284283
# Disable PHP EOL message for snuff in apache evrvars file
285284
if [[ "$OS" = "CentOs" ]]; then
286285

287-
#
286+
echo 'will add later for Centos'
288287

289288
else
290289
echo '' >> /etc/apache2/envvars
@@ -293,14 +292,6 @@ else
293292
fi
294293

295294

296-
297-
298-
299-
300-
301-
302-
303-
304295
# -------------------------------------------------------------------------------
305296
# ProFTPd Below
306297
# -------------------------------------------------------------------------------

0 commit comments

Comments
 (0)