Files
hartman-server/script-install-scripts
2021-10-19 18:38:11 -04:00

14 lines
271 B
Bash

#!/usr/bin/env bash
# This script will add scripts-* to the PATH
# Copyright 2021 Bryan C. Roessler
[[ -f functions ]] && . functions || exit 1
is_root
for script in script-*; do
install "$script" /usr/local/bin/
install -m 644 functions /usr/local/bin/
done