From b62a523289fea187a91e3fa10c6413fb731c43fd Mon Sep 17 00:00:00 2001 From: Cyrille L Date: Thu, 24 Mar 2022 12:52:35 +0100 Subject: [PATCH] fix updater ; damn mouse ! --- usr/local/bin/upd | 2 +- var/lib/upd/scripts/updater | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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 +}