diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-10-15 08:54:16 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-10-15 08:54:16 +0000 |
commit | 3e440156ba3144352c0e53666ac8b949e4f97c2e (patch) | |
tree | e77c019fba41bac39fccfb11be8e35f80d797bff /kiss | |
parent | bf751b95fe4368089a553565cc95968a4757fd5d (diff) | |
download | cpt-3e440156ba3144352c0e53666ac8b949e4f97c2e.tar.gz |
kiss: Always remove charset.alias to avoid KISS_RM issues.
FossilOrigin-Name: 8401c0afe22ccc31d27d37c1f4477d6b38024f634ff0621dd80e4bd8bf85f7fb
Diffstat (limited to 'kiss')
-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 |