Skip to content

Commit 0764cfa

Browse files
committed
Fix missing fi and missed code parts.
1 parent 66c054b commit 0764cfa

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

install/hst-install-debian.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,9 +1211,6 @@ if [ "$apache" = 'yes' ]; then
12111211
update-rc.d apache2 defaults > /dev/null 2>&1
12121212
systemctl start apache2 >> $LOG
12131213
check_result $? "apache2 start failed"
1214-
else
1215-
update-rc.d apache2 disable > /dev/null 2>&1
1216-
systemctl start apache2 > /dev/null 2>&1
12171214
fi
12181215

12191216

install/hst-install-ubuntu.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,6 +1183,7 @@ if [ "$apache" = 'yes' ]; then
11831183
update-rc.d apache2 defaults > /dev/null 2>&1
11841184
systemctl start apache2 >> $LOG
11851185
check_result $? "apache2 start failed"
1186+
fi
11861187

11871188

11881189
#----------------------------------------------------------#

0 commit comments

Comments
 (0)