commit e59f1b3dcd3902bd0637962724223544ef7ad055
parent 40ff70943267d4faa333342c6107c7938fc46386
Author: Dylan Araps <dylan.araps@gmail.com>
Date: Thu, 20 Feb 2020 00:32:02 +0200
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.
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git 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