Shorten installation by including some installation steps into a shell script

This commit is contained in:
Torben Brenner
2022-05-17 18:04:15 +02:00
committed by Martin Lablans
parent 865870ea91
commit b175c55f5c
8 changed files with 138 additions and 57 deletions

4
lib/log.sh Executable file → Normal file
View File

@ -1,5 +1,7 @@
#!/bin/bash
log() {
echo -e "$(date +'%Y-%m-%d %T')" "$1:" "$2"
SEVERITY="$1"
shift
echo -e "$(date +'%Y-%m-%d %T')" "$SEVERITY:" "$@"
}