Selaa lähdekoodia

Set required version to 2.7.2 and remove sudo prefixes

Jimmy Monin 7 vuotta sitten
vanhempi
commit
64bbd30989
2 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 1 1
      manifest.json
  2. 2 2
      scripts/change_url

+ 1 - 1
manifest.json

@@ -14,7 +14,7 @@
         "url": "http://example.com"
     },
     "requirements": {
-        "yunohost": ">= 2.6.4"
+        "yunohost": ">= 2.7.2"
     },
     "multi_instance": true,
     "services": [

+ 2 - 2
scripts/change_url

@@ -63,7 +63,7 @@ fi
 # Change the domain for nginx
 if [ $change_domain -eq 1 ]
 then
-	sudo mv $nginx_conf_path /etc/nginx/conf.d/$new_domain.d/$app.conf
+	mv $nginx_conf_path /etc/nginx/conf.d/$new_domain.d/$app.conf
 fi
 
 #=================================================
@@ -78,4 +78,4 @@ fi
 # RELOAD NGINX
 #=================================================
 
-sudo systemctl reload nginx
+systemctl reload nginx