From 1045963959ddfb697898fa90476f837aae4e2881 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 1 Apr 2026 22:56:07 +0200 Subject: repo: move all packages under SlackBuilds/ subfolder Reorganize repository by moving all 11 package directories into a new SlackBuilds/ subfolder. Update README.md, CLAUDE.md, and hooks/post-commit to reflect the new path structure. Co-Authored-By: Claude Sonnet 4.6 --- hooks/post-commit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hooks') diff --git a/hooks/post-commit b/hooks/post-commit index 9f92e3c..c9241ae 100755 --- a/hooks/post-commit +++ b/hooks/post-commit @@ -13,8 +13,8 @@ while IFS=$'\t' read -r status file; do [[ "$status" != "A" && "$status" != "M" ]] && continue dir=$(dirname "$file") base=$(basename "$file") - [[ "$dir" == "." ]] && continue # skip root-level files - [[ "$dir" == *"/"* ]] && continue # skip files deeper than one level + # Only process packages at SlackBuilds/ depth + [[ "$dir" =~ ^SlackBuilds/[^/]+$ ]] || continue [[ "$base" == *.SlackBuild ]] || continue PACKAGES+=("$dir") done < <(git diff-tree --no-commit-id -r --name-status HEAD) -- cgit v1.2.3