diff --git a/scripts/upgrade b/scripts/upgrade index ced3658..660bd17 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -16,7 +16,7 @@ else fi export HOTSPOT_UPGRADE=1 -bash /etc/yunohost/apps/hotspot/scripts/remove +sudo bash /etc/yunohost/apps/hotspot/scripts/remove bash ./install "${domain}" "${path}" "${wifi_ssid}" "${wifi_passphrase}" "${firmware_nonfree}" sudo systemctl start ynh-hotspot