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.
This commit is contained in:
Dylan Araps 2020-02-20 00:32:02 +02:00
parent 40ff709432
commit e59f1b3dcd
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 5 additions and 0 deletions

5
kiss
View File

@ -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