Add one line installation and better other installation
This commit is contained in:
parent
f44f4db3e1
commit
fd3a634f47
17
README.md
17
README.md
@ -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.
|
||||
|
||||
## Installation
|
||||
Quick, 4 line installation:
|
||||
1 line installation:
|
||||
```bash
|
||||
apt update
|
||||
apt install -y git rsync openssh
|
||||
curl -Ls https://linx.austenwares.com/selif/0182lycx.sh | bash
|
||||
```
|
||||
|
||||
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
|
||||
env bash borg-remote-android/setup.sh
|
||||
```
|
||||
|
||||
Same installation as a one-liner
|
||||
Manual one-liner:
|
||||
```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
|
||||
The entire config is stored in `env`, which is in `.gitignore`, so running a simple `git pull` will update without losing custom changes.
|
||||
|
Loading…
Reference in New Issue
Block a user