More scripts
This commit is contained in:
13
script-install-scripts
Normal file
13
script-install-scripts
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user