This commit is contained in:
cdpb 2023-10-02 03:03:58 -07:00 committed by GitHub
commit 9b56dd4c18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View File

@ -8,6 +8,12 @@ Autorestic requires `bash`, `wget` and `bzip2` to be installed. For most systems
wget -qO - https://raw.githubusercontent.com/cupcakearmy/autorestic/master/install.sh | bash wget -qO - https://raw.githubusercontent.com/cupcakearmy/autorestic/master/install.sh | bash
``` ```
Or for custom install paths.
```bash
wget -qO - https://raw.githubusercontent.com/cupcakearmy/autorestic/master/install.sh | OUT_FILE=~/.local/bin/autorestic bash
```
## Alternatives ## Alternatives
### Docker ### Docker

View File

@ -2,7 +2,11 @@
shopt -s nocaseglob shopt -s nocaseglob
# set OUT_FILE to custom install path
# wget -qO - https://raw.githubusercontent.com/cupcakearmy/autorestic/master/install.sh | OUT_FILE=~/.local/bin/autorestic bash
if [[ -z $OUT_FILE ]]; then
OUT_FILE=/usr/local/bin/autorestic OUT_FILE=/usr/local/bin/autorestic
fi
# Type # Type
NATIVE_OS=$(uname | tr '[:upper:]' '[:lower:]') NATIVE_OS=$(uname | tr '[:upper:]' '[:lower:]')