From b7996a2bfae1b9f7d34594ace4df1c2e65bd4360 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 4 Apr 2019 01:36:54 +0200 Subject: [PATCH] Fix restore --- scripts/restore | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/scripts/restore b/scripts/restore index 23da5b3..c52b445 100755 --- a/scripts/restore +++ b/scripts/restore @@ -15,6 +15,7 @@ source /usr/share/yunohost/helpers #================================================= ynh_clean_setup () { + read -p "key" ynh_clean_check_starting } # Exit if an error occurs during the execution of the script @@ -103,13 +104,6 @@ ynh_restore_file "/etc/systemd/system/$app.service" systemctl enable $app.service systemctl daemon-reload -#Fix Your search index is locked. -export PATH="$PATH:$final_path/.cargo/bin:$final_path/.local/bin:/usr/local/sbin" - -pushd $final_path/$app - sudo -u "$app" env PATH=$PATH plm search unlock -popd - #================================================= # CREATE LOG FOLDER #=================================================