feat(scripts): Walk scripts directory when loading a list of scripts

This commit is contained in:
Michael Aaron Murphy 2021-08-13 19:27:00 +02:00
parent 8b3b95aae8
commit 200e7ba55f
5 changed files with 23 additions and 21 deletions

View file

@ -95,6 +95,6 @@ install:
# Scripts
mkdir -p $(SCRIPTS_DIR)
for script in $(PWD)/scripts/session/*.sh scripts/system76-power/*.sh; do \
install -Dm0644 $${script} $(SCRIPTS_DIR); \
for script in $(PWD)/scripts/*; do \
cp -r $${script} $(SCRIPTS_DIR); \
done