From e59f1b3dcd3902bd0637962724223544ef7ad055 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 20 Feb 2020 00:32:02 +0200 Subject: [PATCH] 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. --- kiss | 5 +++++ 1 file changed, 5 insertions(+) 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