fix: ending updater script
This commit is contained in:
parent
846eb00832
commit
f3ce7cd89b
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue