This commit is contained in:
Austen Adler 2018-11-26 19:31:20 -05:00
commit 1c955a3b95

View File

@ -17,18 +17,25 @@ and it will notify you when complete.
Alternatively, you can add a Termux widget to your home screen (`./setup.sh` auto-installs in the `.shortcuts` directory), so backups can be made with a single tap from the home screen. Alternatively, you can add a Termux widget to your home screen (`./setup.sh` auto-installs in the `.shortcuts` directory), so backups can be made with a single tap from the home screen.
## Installation ## Installation
Quick, 4 line installation: 1 line installation:
```bash ```bash
apt update curl -Ls https://linx.austenwares.com/selif/0182lycx.sh | bash
apt install -y git rsync openssh ```
Manual 4 line installation:
```bash
# Install rsync/git/ssh only if they aren't already present
{ command -v rsync && command -v git && command -v ssh; } >/dev/null || { apt update && apt install -y git rsync openssh; }
git clone https://gitea.austenwares.com/stonewareslord/borg-remote-android git clone https://gitea.austenwares.com/stonewareslord/borg-remote-android
env bash borg-remote-android/setup.sh env bash borg-remote-android/setup.sh
``` ```
Same installation as a one-liner Manual one-liner:
```bash ```bash
apt update && apt install -y git rsync openssh && git clone https://gitea.austenwares.com/stonewareslord/borg-remote-android && env bash borg-remote-android/setup.sh { command -v rsync && command -v git && command -v ssh; } >/dev/null || { apt update && apt install -y git rsync openssh; } && git clone https://gitea.austenwares.com/stonewareslord/borg-remote-android && env bash borg-remote-android/setup.sh
``` ```
[QR code installation (paste into Termux)](https://linx.austenwares.com/selif/w1x8uezq.png)
## Updating ## Updating
The entire config is stored in `env`, which is in `.gitignore`, so running a simple `git pull` will update without losing custom changes. The entire config is stored in `env`, which is in `.gitignore`, so running a simple `git pull` will update without losing custom changes.