From f3ce7cd89bf45b0598073b22338ebd55d4b993b5 Mon Sep 17 00:00:00 2001 From: Cyrille L Date: Mon, 11 Apr 2022 15:23:48 +0200 Subject: [PATCH] fix: ending updater script --- var/lib/upd/scripts/updater | 2 ++ 1 file changed, 2 insertions(+) diff --git a/var/lib/upd/scripts/updater b/var/lib/upd/scripts/updater index 778f558..d13d4a8 100644 --- a/var/lib/upd/scripts/updater +++ b/var/lib/upd/scripts/updater @@ -41,6 +41,7 @@ script__versions && return 1 # Get archive +myfolder=$PWD cd /tmp curl -L -o ${app_name}-main.tar.gz "$repo_tar" 2>/dev/null ! [[ -f "${app_name}-main.tar.gz" ]] \ @@ -57,6 +58,7 @@ rsync -a --delete "etc/$app_name/" "/etc/$app_name/" rm -rf "/tmp/${app_name}-main" rm -f "/tmp/${app_name}-main.tar.gz" +cd $myfolder bash upd -v }