From eb1096b275472ad2e17e091e3f39e14343a925f1 Mon Sep 17 00:00:00 2001 From: Raine Date: Mon, 30 Oct 2023 01:06:33 +0100 Subject: [PATCH] fix: all shellscripts should be +x --- servers/apoc/docker-compose.d/custom/nginx/entrypoint.sh | 0 servers/apoc/setup.d/00-setup-git.sh | 0 servers/apoc/setup.d/10-apply-skel.sh | 0 servers/apoc/setup.d/80-wekan.sh | 0 servers/keymaker/docker-compose.d/custom/nginx/entrypoint.sh | 0 .../firefish/docker-entrypoint.d/50-replace-config-with-env.sh | 0 .../custom/firefish/docker-entrypoint.d/90-start-firefish.sh | 0 .../kid/docker-compose.d/custom/firefish/docker-entrypoint.sh | 0 servers/kid/docker-compose.d/custom/nginx/entrypoint.sh | 0 servers/kid/setup.d/10-conduit.sh | 0 servers/link/docker-compose.d/custom/nginx/entrypoint.sh | 0 servers/skel/docker-compose.d/custom/nginx/entrypoint.sh | 0 skel/opt/scripts/ntfy.sh | 0 skel/opt/scripts/restic/backup.sh | 0 skel/opt/scripts/restic/forget.sh | 0 skel/opt/scripts/restic/prune.sh | 0 tools/repo/check.d/00-all-tools-executable.sh | 2 +- tools/repo/fix-script-permissions.sh | 2 +- 18 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 servers/apoc/docker-compose.d/custom/nginx/entrypoint.sh mode change 100644 => 100755 servers/apoc/setup.d/00-setup-git.sh mode change 100644 => 100755 servers/apoc/setup.d/10-apply-skel.sh mode change 100644 => 100755 servers/apoc/setup.d/80-wekan.sh mode change 100644 => 100755 servers/keymaker/docker-compose.d/custom/nginx/entrypoint.sh mode change 100644 => 100755 servers/kid/docker-compose.d/custom/firefish/docker-entrypoint.d/50-replace-config-with-env.sh mode change 100644 => 100755 servers/kid/docker-compose.d/custom/firefish/docker-entrypoint.d/90-start-firefish.sh mode change 100644 => 100755 servers/kid/docker-compose.d/custom/firefish/docker-entrypoint.sh mode change 100644 => 100755 servers/kid/docker-compose.d/custom/nginx/entrypoint.sh mode change 100644 => 100755 servers/kid/setup.d/10-conduit.sh mode change 100644 => 100755 servers/link/docker-compose.d/custom/nginx/entrypoint.sh mode change 100644 => 100755 servers/skel/docker-compose.d/custom/nginx/entrypoint.sh mode change 100644 => 100755 skel/opt/scripts/ntfy.sh mode change 100644 => 100755 skel/opt/scripts/restic/backup.sh mode change 100644 => 100755 skel/opt/scripts/restic/forget.sh mode change 100644 => 100755 skel/opt/scripts/restic/prune.sh diff --git a/servers/apoc/docker-compose.d/custom/nginx/entrypoint.sh b/servers/apoc/docker-compose.d/custom/nginx/entrypoint.sh old mode 100644 new mode 100755 diff --git a/servers/apoc/setup.d/00-setup-git.sh b/servers/apoc/setup.d/00-setup-git.sh old mode 100644 new mode 100755 diff --git a/servers/apoc/setup.d/10-apply-skel.sh b/servers/apoc/setup.d/10-apply-skel.sh old mode 100644 new mode 100755 diff --git a/servers/apoc/setup.d/80-wekan.sh b/servers/apoc/setup.d/80-wekan.sh old mode 100644 new mode 100755 diff --git a/servers/keymaker/docker-compose.d/custom/nginx/entrypoint.sh b/servers/keymaker/docker-compose.d/custom/nginx/entrypoint.sh old mode 100644 new mode 100755 diff --git a/servers/kid/docker-compose.d/custom/firefish/docker-entrypoint.d/50-replace-config-with-env.sh b/servers/kid/docker-compose.d/custom/firefish/docker-entrypoint.d/50-replace-config-with-env.sh old mode 100644 new mode 100755 diff --git a/servers/kid/docker-compose.d/custom/firefish/docker-entrypoint.d/90-start-firefish.sh b/servers/kid/docker-compose.d/custom/firefish/docker-entrypoint.d/90-start-firefish.sh old mode 100644 new mode 100755 diff --git a/servers/kid/docker-compose.d/custom/firefish/docker-entrypoint.sh b/servers/kid/docker-compose.d/custom/firefish/docker-entrypoint.sh old mode 100644 new mode 100755 diff --git a/servers/kid/docker-compose.d/custom/nginx/entrypoint.sh b/servers/kid/docker-compose.d/custom/nginx/entrypoint.sh old mode 100644 new mode 100755 diff --git a/servers/kid/setup.d/10-conduit.sh b/servers/kid/setup.d/10-conduit.sh old mode 100644 new mode 100755 diff --git a/servers/link/docker-compose.d/custom/nginx/entrypoint.sh b/servers/link/docker-compose.d/custom/nginx/entrypoint.sh old mode 100644 new mode 100755 diff --git a/servers/skel/docker-compose.d/custom/nginx/entrypoint.sh b/servers/skel/docker-compose.d/custom/nginx/entrypoint.sh old mode 100644 new mode 100755 diff --git a/skel/opt/scripts/ntfy.sh b/skel/opt/scripts/ntfy.sh old mode 100644 new mode 100755 diff --git a/skel/opt/scripts/restic/backup.sh b/skel/opt/scripts/restic/backup.sh old mode 100644 new mode 100755 diff --git a/skel/opt/scripts/restic/forget.sh b/skel/opt/scripts/restic/forget.sh old mode 100644 new mode 100755 diff --git a/skel/opt/scripts/restic/prune.sh b/skel/opt/scripts/restic/prune.sh old mode 100644 new mode 100755 diff --git a/tools/repo/check.d/00-all-tools-executable.sh b/tools/repo/check.d/00-all-tools-executable.sh index d6eba76..6f8b24d 100755 --- a/tools/repo/check.d/00-all-tools-executable.sh +++ b/tools/repo/check.d/00-all-tools-executable.sh @@ -1,6 +1,6 @@ #!/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 echo "$s is not executable" exit 1 diff --git a/tools/repo/fix-script-permissions.sh b/tools/repo/fix-script-permissions.sh index 2f44dc7..ff57311 100755 --- a/tools/repo/fix-script-permissions.sh +++ b/tools/repo/fix-script-permissions.sh @@ -1,6 +1,6 @@ #!/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 echo "fixing permissions for $s..." chmod +x $s