aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2020-02-19 22:32:01 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2020-02-19 22:32:01 +0000
commit8de1916c6b291dd5fb9952ba708bac225f3b559f (patch)
treeaa2024db751715bf6b66535027d5aff78c9a52ce
parentabe9ef3e15a61423f6cd385ae257a9b7e003930f (diff)
downloadcpt-8de1916c6b291dd5fb9952ba708bac225f3b559f.tar.gz
kiss: Always remove charset.alias
We never want this. KISS_RM used to remove it unconditionally but seeing as this is no longer the case, let's do it post-build. This is a file related to intltool/gettext and is installed by multiple packages under the same name causing endless conflicts. We have no use for this and nor do I want to handle this kind of file installation in the package manager. It's ugly and I'm glad it's gone. FossilOrigin-Name: d74ce8be8667e38eb9b710efd2f65e27e085110adbea2346cf6fee1dfff85778
-rwxr-xr-xkiss5
1 files changed, 5 insertions, 0 deletions
diff --git a/kiss b/kiss
index 8e6bd31..9fcae3a 100755
--- a/kiss
+++ b/kiss
@@ -596,6 +596,11 @@ pkg_build() {
# This acts as the database entry.
cp -LRf "$repo_dir" "$pkg_dir/$pkg/$pkg_db/"
+ # We never ever want this. Let's end the endless conflicts
+ # and remove it. This will be the only exception for a
+ # specific removal of this kind.
+ rm -f "$pkg_dir/$pkg/usr/lib/charset.alias"
+
log "$pkg" "Successfully built package"
if [ "$KISS_HOOK" ]; then