mirror of
https://github.com/stan220/flathub.git
synced 2026-09-08 16:28:52 +00:00
x-checker: Just print the folder name being deleted
This commit is contained in:
@@ -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 {}"
|
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"
|
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 )
|
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
|
for repo in "${checker_apps[@]}"; do
|
||||||
|
|||||||
Reference in New Issue
Block a user