Browse Source

Fix small error on install

Julien VAUBOURG 9 years ago
parent
commit
af37173677
1 changed files with 2 additions and 1 deletions
  1. 2 1
      scripts/install

+ 2 - 1
scripts/install

@@ -208,8 +208,9 @@ if [ "${ip6_addr}" != none ]; then
   fi
 fi
 
+sudo systemctl enable ynh-hotspot
+
 if ! $upgrade; then
-  sudo systemctl enable ynh-hotspot
   sudo systemctl start ynh-hotspot
 
   sudo yunohost service add ynh-hotspot