More scripts

This commit is contained in:
2021-10-19 18:38:11 -04:00
parent 64f6c11503
commit ce047ec339
3 changed files with 29 additions and 2 deletions

13
script-install-scripts Normal file
View File

@@ -0,0 +1,13 @@
#!/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