From c30e33a61229f53851cd49341502130ff5e4402c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Fri, 1 Mar 2019 23:29:52 +0100 Subject: [PATCH] Restore all scripts from old settings --- scripts/experimental_helper.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/experimental_helper.sh b/scripts/experimental_helper.sh index f7e7f26..6ce0371 100644 --- a/scripts/experimental_helper.sh +++ b/scripts/experimental_helper.sh @@ -280,6 +280,7 @@ ynh_handle_app_migration () { local settings_dir="/etc/yunohost/apps" cp -a "$settings_dir/$old_app" "$settings_dir/$new_app" + cp -a ../{scripts,conf} "$settings_dir/$new_app" # Replace the old id by the new one ynh_replace_string "\(^id: .*\)$old_app" "\1$new_app" "$settings_dir/$new_app/settings.yml"