File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -1313,9 +1313,11 @@ fi
13131313# Configure API #
13141314# ----------------------------------------------------------#
13151315
1316- if [ " $api " = ' no' ]; then
1317- rm -r $HESTIA /web/api
1316+ if [ " $api " = ' yes' ]; then
13181317 echo " API='no'" >> $HESTIA /conf/hestia.conf
1318+ else
1319+ rm -r $HESTIA /web/api
1320+ echo " API='yes'" >> $HESTIA /conf/hestia.conf
13191321fi
13201322
13211323
Original file line number Diff line number Diff line change @@ -1285,9 +1285,11 @@ fi
12851285# Configure API #
12861286# ----------------------------------------------------------#
12871287
1288- if [ " $api " = ' no' ]; then
1289- rm -r $HESTIA /web/api
1288+ if [ " $api " = ' yes' ]; then
12901289 echo " API='no'" >> $HESTIA /conf/hestia.conf
1290+ else
1291+ rm -r $HESTIA /web/api
1292+ echo " API='yes'" >> $HESTIA /conf/hestia.conf
12911293fi
12921294
12931295
You can’t perform that action at this time.
0 commit comments