fix: ending updater script

This commit is contained in:
Cyrille L 2022-04-11 15:23:48 +02:00
parent 846eb00832
commit f3ce7cd89b
1 changed files with 2 additions and 0 deletions

View File

@ -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
}