updated setup.sh and README.md

This commit is contained in:
Samuel Philipp 2020-06-15 18:00:27 +02:00
parent 5fb1f5ab6d
commit 955ab92e56
2 changed files with 3 additions and 3 deletions

View file

@ -9,11 +9,12 @@ Some useful bash scripts.
|[healthcheck.sh](healthcheck.sh)|Script to use as cron wrap to monitor the job with health.sp-codes.de|
|[login-notify.sh](login-notify.sh)|Script to send an alert mail on ssh login|
|[validate-remote-backup.sh](validate-remote-backup.sh)|Script to validate server side rsync command to use ssh force command|
|[docker-compose-up-all.sh](docker-compose-up-all.sh)|Script to call `docker-compose up -d` on all subdirectories|
## Setup
To set up all scripts in the current directory run this:
```
curl https://git.sp-codes.de/samuel-p/awesome-scripts/raw/branch/master/setup.sh | bash
curl https://git.sp-codes.de/samuel-p/awesome-scripts/raw/branch/master/setup.sh | bash -s healthcheck.sh login-notify.sh validate-remote-backup.sh docker-compose-up-all.sh
```

View file

@ -1,7 +1,6 @@
#!/bin/bash
URL="https://git.sp-codes.de/samuel-p/awesome-scripts/raw/branch/master/"
SCRIPTS=("healthcheck.sh" "login-notify.sh" "validate-remote-backup.sh" "docker-compose-up-all.sh")
for script in "$@"; do
echo "Downloading $script"