diff --git a/scripts/restore b/scripts/restore index 48e03df..4152f8e 100755 --- a/scripts/restore +++ b/scripts/restore @@ -20,10 +20,10 @@ ynh_restore_file --origin_path="$install_dir" chown -R $app:www-data "$install_dir" ynh_restore_file --origin_path="/home/$app" -ynh_restore_file --origin_path="/home/yunohost.app/$app" +ynh_restore_file --origin_path="/home/yunohost.app/$app" --not_mandatory chown -R $app:www-data "/home/$app" -chown -R $app:www-data "/home/yunohost.app/$app" --not_mandatory +chown -R $app:www-data "/home/yunohost.app/$app" ln -s "/home/yunohost.app/$app" "/home/$app/repos" && chmod 700 "/home/$app/repos" ln -s "$install_dir/app" "/home/$app/app" && chmod 700 "/home/$app/app"