Skip to content

Commit 4ca321a

Browse files
committed
Fix small variable set in api configuration.
1 parent cc8fc60 commit 4ca321a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

install/hst-install-debian.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1385,10 +1385,10 @@ fi
13851385
#----------------------------------------------------------#
13861386

13871387
if [ "$api" = 'yes' ]; then
1388-
echo "API='no'" >> $HESTIA/conf/hestia.conf
1388+
echo "API='yes'" >> $HESTIA/conf/hestia.conf
13891389
else
13901390
rm -r $HESTIA/web/api
1391-
echo "API='yes'" >> $HESTIA/conf/hestia.conf
1391+
echo "API='no'" >> $HESTIA/conf/hestia.conf
13921392
fi
13931393

13941394

install/hst-install-ubuntu.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1332,10 +1332,10 @@ fi
13321332
#----------------------------------------------------------#
13331333

13341334
if [ "$api" = 'yes' ]; then
1335-
echo "API='no'" >> $HESTIA/conf/hestia.conf
1335+
echo "API='yes'" >> $HESTIA/conf/hestia.conf
13361336
else
13371337
rm -r $HESTIA/web/api
1338-
echo "API='yes'" >> $HESTIA/conf/hestia.conf
1338+
echo "API='no'" >> $HESTIA/conf/hestia.conf
13391339
fi
13401340

13411341

0 commit comments

Comments
 (0)