Skip to content

Commit f56d76d

Browse files
committed
Clean more files
1 parent 3d85995 commit f56d76d

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

scripts/clean-files.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,9 @@ remove \
136136
"${XDG_CONFIG_HOME}/autokey" \
137137
"${XDG_DATA_HOME}/autokey"
138138
! does_bin_exist "avidemux" && remove "${HOME}/.avidemux6"
139-
! does_bin_exist "balena-etcher" "balena-etcher-electron" "etcher" && remove \
139+
! does_bin_exist 'balena-etcher' 'balena-etcher-electron' 'etcher' && remove \
140140
"${XDG_CONFIG_HOME}/balena-etcher" \
141+
"${XDG_CONFIG_HOME}/balenaEtcher" \
141142
"${XDG_CONFIG_HOME}/balena-etcher-electron"
142143
! does_bin_exist "bleachbit" && remove \
143144
"${XDG_CACHE_HOME}/bleachbit" \
@@ -216,6 +217,8 @@ remove \
216217
"${XDG_CACHE_HOME}/hashcat" \
217218
"${XDG_CONFIG_HOME}/hashcat" \
218219
"${XDG_DATA_HOME}/hashcat"
220+
! does_bin_exist 'icaclient' && remove \
221+
"${HOME}/.ICAClient"
219222
! does_bin_exist 'inkscape' && remove \
220223
"${XDG_CACHE_HOME}/inkscape" \
221224
"${XDG_CONFIG_HOME}/inkscape"
@@ -753,7 +756,10 @@ for FLATPAK_CACHE_DIR in "${ROOT_VAR}/tmp"/flatpak-cache-*; do
753756
remove "${FLATPAK_CACHE_DIR}"
754757
done
755758

756-
remove "${ROOT_SRV}/papermc/plugins/.paper-remapped"
759+
# Other unwanted files
760+
remove \
761+
"${HOME}/.ServiceHub" \
762+
"${ROOT_SRV}/papermc/plugins/.paper-remapped"
757763

758764
does_bin_exist 'journalctl' && run_as_su journalctl --vacuum-time=3days
759765
does_bin_exist 'pacman' && yes | run_as_su pacman -Scc

0 commit comments

Comments
 (0)