From cd48f4546290ac43d336d9671b48dfa01b382378 Mon Sep 17 00:00:00 2001 From: clsty Date: Fri, 3 Oct 2025 00:10:45 +0800 Subject: [PATCH] Del `chmod +x` in update.sh targeting scriptdata Although I am not the one creating update.sh, I am certain that giving execute permission for scripts under scriptdata/ is wrong cuz they are not for executing independently, but for being sourced by other scripts. --- update.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/update.sh b/update.sh index 8fb7a299a..38cd7a999 100755 --- a/update.sh +++ b/update.sh @@ -813,12 +813,6 @@ fi # Step 4: Update script permissions log_header "Updating Script Permissions" -if [[ -d "${REPO_DIR}/scriptdata" ]]; then - find "${REPO_DIR}/scriptdata" -type f -name "*.sh" -exec chmod +x {} \; - find "${REPO_DIR}/scriptdata" -type f -executable -exec chmod +x {} \; - log_success "Updated script permissions" -fi - # Make sure local bin scripts are executable if [[ -d "${HOME}/.local/bin" ]]; then find "${HOME}/.local/bin" -type f -exec chmod +x {} \; 2>/dev/null || true