diff options
| author | kj_sh604 | 2026-01-17 20:43:42 -0500 |
|---|---|---|
| committer | kj_sh604 | 2026-01-17 20:43:42 -0500 |
| commit | 625aaf2ac4d142110dd910b71df3fa83435b621d (patch) | |
| tree | 4bef66c193661f015410aabce9630b957216ede2 | |
| parent | 01257ea68f3828d8f5c798c8f7bc3e07c14aca46 (diff) | |
refactor: don't do `--gendb` anymore
aur has bot detection now and this just exits 1
| -rwxr-xr-x | .local/bin/parucache-clean-up | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/.local/bin/parucache-clean-up b/.local/bin/parucache-clean-up index ec96aa2..7939102 100755 --- a/.local/bin/parucache-clean-up +++ b/.local/bin/parucache-clean-up | |||
| @@ -67,9 +67,12 @@ clean_aur_cache() { | |||
| 67 | else | 67 | else |
| 68 | printf "warning: paru cache directory not found: %s\n" "$cache_dir" | 68 | printf "warning: paru cache directory not found: %s\n" "$cache_dir" |
| 69 | fi | 69 | fi |
| 70 | 70 | ||
| 71 | printf "regenerating paru database...\n" | 71 | # not regenerating paru database anymore since the aur has bot-detection now |
| 72 | paru --gendb || error_exit "failed to regenerate paru database" | 72 | ## printf "regenerating paru database...\n" |
| 73 | ## paru --gendb || error_exit "failed to regenerate paru database" | ||
| 74 | |||
| 75 | paru -Ps | ||
| 73 | } | 76 | } |
| 74 | 77 | ||
| 75 | # default values | 78 | # default values |
