fix updater ; damn mouse !

This commit is contained in:
Cyrille L 2022-03-24 12:52:35 +01:00
parent 0a3e297a9e
commit b62a523289
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#!/bin/bash
# version: 0.0.8
# version: 0.0.9
# file: upd
# Folder: /usr/local/bin
# By echolib

View File

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