Fix banner

This commit is contained in:
2021-10-21 11:07:24 -04:00
parent afd9bbdad5
commit d48e7f3f33
2 changed files with 8 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
#!/usr/bin/env bash
# Install motd scripts
# shellcheck source=./functions
[[ -f functions ]] && . functions || exit 1
is_root
@@ -15,6 +16,7 @@ if [[ -v DEBUG ]]; then
banner="banner.sh"
else
banner="$profiledir/banner.sh"
[[ -f ./functions ]] && cp functions "$profiledir"
fi
cat <<- 'EOF' > "$banner"