mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-12-22 00:06:25 +00:00
install script
This commit is contained in:
parent
0802dedb47
commit
d59362e82c
9
install.sh
Normal file
9
install.sh
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
OUT_FILE=/usr/local/bin/autorestic
|
||||
|
||||
curl -s https://api.github.com/repos/cupcakearmy/autorestic/releases/latest \
|
||||
| grep "browser_download_url.*-macos" \
|
||||
| cut -d : -f 2,3 \
|
||||
| tr -d \" \
|
||||
| wget -q -O $OUT_FILE -i -
|
||||
chmod +x $OUT_FILE
|
Loading…
Reference in New Issue
Block a user