diff --git a/scripts/restore b/scripts/restore index e66d1fd..d4fa5a3 100644 --- a/scripts/restore +++ b/scripts/restore @@ -5,8 +5,9 @@ set -eu source /usr/share/yunohost/helpers # Retrieve old app settings -domain=$(ynh_app_setting_get $app domain) app="jappix" +domain=$(ynh_app_setting_get $app domain) + # Restore sources & data sudo cp -a ./sources "/var/www/${app}"