diff --git a/usr/local/bin/upd b/usr/local/bin/upd index 46805d4..59cda2f 100755 --- a/usr/local/bin/upd +++ b/usr/local/bin/upd @@ -1,5 +1,5 @@ #!/bin/bash -# version: 0.0.8 +# version: 0.0.9 # file: upd # Folder: /usr/local/bin # By echolib diff --git a/var/lib/upd/scripts/updater b/var/lib/upd/scripts/updater index 1663fa7..180938f 100644 --- a/var/lib/upd/scripts/updater +++ b/var/lib/upd/scripts/updater @@ -23,7 +23,7 @@ curl -L -o upd-main.tar.gz "$upd_repo_tar" 2>/dev/null ! [[ -f "upd-main.tar.gz" ]] \ && echo "! Download error" \ && return - + tar -xzf upd-main.tar.gz cd upd-main rsync -a --delete "usr/local/bin/" "/usr/local/bin" @@ -36,3 +36,4 @@ echo "# upd updated to: $upd_cur" rm -rf /tmp/upd-main rm -f upd-main.tar.gz +}