fix: all shellscripts should be +x

This commit is contained in:
Strix 2023-10-30 01:06:33 +01:00
parent 1da2f0100c
commit eb1096b275
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774
18 changed files with 2 additions and 2 deletions

View file

0
servers/apoc/setup.d/00-setup-git.sh Normal file → Executable file
View file

0
servers/apoc/setup.d/10-apply-skel.sh Normal file → Executable file
View file

0
servers/apoc/setup.d/80-wekan.sh Normal file → Executable file
View file

View file

View file

View file

0
servers/kid/setup.d/10-conduit.sh Normal file → Executable file
View file

View file

View file

0
skel/opt/scripts/ntfy.sh Normal file → Executable file
View file

0
skel/opt/scripts/restic/backup.sh Normal file → Executable file
View file

0
skel/opt/scripts/restic/forget.sh Normal file → Executable file
View file

0
skel/opt/scripts/restic/prune.sh Normal file → Executable file
View file

View file

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
for s in $(find tools/ -type f -regex ".*\.\(sh\|py\)"); do for s in $(find . -type f -regex ".*\.\(sh\|py\)"); do
if ! [ -x $s ]; then if ! [ -x $s ]; then
echo "$s is not executable" echo "$s is not executable"
exit 1 exit 1

View file

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
for s in $(find tools/ -type f -regex ".*\.\(sh\|py\)"); do for s in $(find . -type f -regex ".*\.\(sh\|py\)"); do
[ -x $s ] && continue [ -x $s ] && continue
echo "fixing permissions for $s..." echo "fixing permissions for $s..."
chmod +x $s chmod +x $s