File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -289,6 +289,11 @@ if [ ! -z "$(grep ^admin: /etc/passwd /etc/group)" ] && [ -z "$force" ]; then
289289 check_result 1 " User admin exists"
290290fi
291291
292+ # Check if a default webserver was set
293+ if [ $apache = ' no' ] && [ $nginx = ' no' ]; then
294+ check_result 1 " No web server was selected"
295+ fi
296+
292297# Clear the screen once launch permissions have been verified
293298clear
294299
Original file line number Diff line number Diff line change @@ -263,6 +263,11 @@ if [ ! -z "$(grep ^admin: /etc/passwd /etc/group)" ] && [ -z "$force" ]; then
263263 check_result 1 " User admin exists"
264264fi
265265
266+ # Check if a default webserver was set
267+ if [ $apache = ' no' ] && [ $nginx = ' no' ]; then
268+ check_result 1 " No web server was selected"
269+ fi
270+
266271# Clear the screen once launch permissions have been verified
267272clear
268273
You can’t perform that action at this time.
0 commit comments