diff options
-rwxr-xr-x | kiss | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -322,15 +322,18 @@ pkg_junk() ( # built packages. This default assumes a prefix of '/usr' though the # user can further configure it to search whatever paths they desire. rm=usr/share/doc:usr/share/gtk-doc:usr/share/info:usr/share/polkit-1 - rm=$rm:usr/share/gettext:usr/share/locale:usr/lib/charset.alias + rm=$rm:usr/share/gettext:usr/share/locale rm=$rm:etc/bash_completion.d:usr/share/applications rm=$rm:usr/share/zsh/site-functions:usr/share/zsh/vendor-completions # Split the environment variable on ':' and turn it into an argument # list. This works exactly like '$KISS_PATH'. # + # Files which always conflict (such as usr/lib/charset.alias) and are + # uneeded should be removed regardless. + # # shellcheck disable=2046,2086 - { IFS=:; set -- ${KISS_RM-$rm}; IFS=$old_ifs; } + { IFS=:; set -- ${KISS_RM-$rm:usr/lib/charset.alias}; IFS=$old_ifs; } # Loop over each junk entry and delete it if it exists. for junk; do |