Browse Source

Fix small variable set in api configuration.

Raphael Schneeberger 7 years ago
parent
commit
4ca321a9ed
2 changed files with 4 additions and 4 deletions
  1. 2 2
      install/hst-install-debian.sh
  2. 2 2
      install/hst-install-ubuntu.sh

+ 2 - 2
install/hst-install-debian.sh

@@ -1385,10 +1385,10 @@ fi
 #----------------------------------------------------------#
 
 if [ "$api" = 'yes' ]; then
-    echo "API='no'" >> $HESTIA/conf/hestia.conf
+    echo "API='yes'" >> $HESTIA/conf/hestia.conf
 else
     rm -r $HESTIA/web/api
-    echo "API='yes'" >> $HESTIA/conf/hestia.conf
+    echo "API='no'" >> $HESTIA/conf/hestia.conf
 fi
 
 

+ 2 - 2
install/hst-install-ubuntu.sh

@@ -1332,10 +1332,10 @@ fi
 #----------------------------------------------------------#
 
 if [ "$api" = 'yes' ]; then
-    echo "API='no'" >> $HESTIA/conf/hestia.conf
+    echo "API='yes'" >> $HESTIA/conf/hestia.conf
 else
     rm -r $HESTIA/web/api
-    echo "API='yes'" >> $HESTIA/conf/hestia.conf
+    echo "API='no'" >> $HESTIA/conf/hestia.conf
 fi