From cda2938aa73deebf100cfc1e1d43a03dde1e8b81 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Mon, 20 Jan 2020 00:53:30 +0100 Subject: [PATCH] Fix removal --- scripts/remove | 2 +- scripts/upgrade | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/remove b/scripts/remove index 52cd8b9..45dead7 100644 --- a/scripts/remove +++ b/scripts/remove @@ -155,7 +155,7 @@ fi #================================================= # Remove the log files -ynh_secure_remove --file="/var/log/$app/" +ynh_secure_remove --file="/var/log/$app" #================================================= # GENERIC FINALIZATION diff --git a/scripts/upgrade b/scripts/upgrade index a41d072..c66334e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -157,7 +157,7 @@ then unzip $final_path/jitsi-jicofo-build/target/jicofo-linux-x64-1.1-SNAPSHOT.zip -d $final_path - ynh_secure_remove --file="$final_path/jitsi-jicofo/" + ynh_secure_remove --file="$final_path/jitsi-jicofo" mv $final_path/jicofo-linux-x64-1.1-SNAPSHOT/ $final_path/jitsi-jicofo/ @@ -177,7 +177,7 @@ then tar xf data.tar.xz popd - ynh_secure_remove --file="$final_path/jitsi-meet/" + ynh_secure_remove --file="$final_path/jitsi-meet" mv "$final_path/jitsi-meet_temp/usr/share/jitsi-meet/" "$final_path/jitsi-meet/" ynh_secure_remove --file="$final_path/jitsi-meet_temp"