fix updater ; damn mouse !
This commit is contained in:
parent
0a3e297a9e
commit
b62a523289
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
# version: 0.0.8
|
||||
# version: 0.0.9
|
||||
# file: upd
|
||||
# Folder: /usr/local/bin
|
||||
# By echolib
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue