Fix installer

This commit is contained in:
2021-10-22 17:44:13 -04:00
parent 3c18e69ab3
commit 92b51a1ea5
15 changed files with 59 additions and 16 deletions

View File

@@ -1,8 +1,11 @@
#!/usr/bin/env bash
# Install motd scripts
# Bryan C. Roessler
# shellcheck source=./functions
[[ -f functions ]] && . functions || exit 1
parent="${BASH_SOURCE[0]}"
parent=${parent%/*}
[[ -f "$parent"/functions ]] && . "$parent"/functions || exit 1
is_root