Remove pipx environment and cache directories

This commit is contained in:
Anduin Xue 2025-05-17 09:59:11 +00:00
parent 34c9eaf8d7
commit 65d9290ff6
No known key found for this signature in database
GPG Key ID: D33FA9407A6BE728
1 changed files with 4 additions and 0 deletions

View File

@ -7,4 +7,8 @@ print_ok "Cleaning up /root/.config/ and root's gnome-shell extensions"
rm /root/.config/mimeapps.list
rm /root/.config/dconf -rf
rm /root/.local/share/gnome-shell/extensions -rf
/usr/bin/pipx uninstall-all
PIPX_HOME=$(pipx environment --value PIPX_HOME)
rm "$PIPX_HOME" -rf
rm /root/.cache -rf
judge "Clean up /root/.config/ and root's gnome-shell extensions"