x-checker: Just print the folder name being deleted

This commit is contained in:
bbhtt
2025-07-06 09:39:59 +05:30
parent af3316670d
commit f6ed3fbbcf

View File

@@ -13,7 +13,7 @@ cd flathub || exit
gh repo list flathub --visibility public -L 8000 --json url --json isArchived --jq '.[] | select(.isArchived == false)|.url' | parallel "git clone --depth 1 {}"
echo "==> Deleting inactive repos"
curl -s https://raw.githubusercontent.com/flathub-infra/flathub-inactive-repo-list/refs/heads/main/inactive.txt | while read folder; do test -d "$folder" && rm -rfv "$folder" || true; done
curl -s https://raw.githubusercontent.com/flathub-infra/flathub-inactive-repo-list/refs/heads/main/inactive.txt | while read folder; do test -d "$folder" && echo "==> Deleting $folder" && rm -rf "$folder" || true; done
mapfile -t checker_apps < <( grep -rl -E 'extra-data|x-checker-data|\.AppImage' | cut -d/ -f1 | sort -u | shuf )
for repo in "${checker_apps[@]}"; do