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

@@ -2,7 +2,10 @@
# Adds a reverse proxy for local system services
# Copyright 2021 Bryan C. Roessler
[[ -f functions ]] && . functions || exit 1
parent="${BASH_SOURCE[0]}"
parent=${parent%/*}
[[ -f "$parent"/functions ]] && . "$parent"/functions || exit 1
is_root