From f0f1e182d2037caf5bfb6cbfd4f1efe143375ae0 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 14 Jan 2014 10:45:01 +0100 Subject: [PATCH] chroot-patch: remove charset.alias if exists. --- srcpkgs/chroot-patch/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/chroot-patch/template b/srcpkgs/chroot-patch/template index 4ede904205..ce1ee0806d 100644 --- a/srcpkgs/chroot-patch/template +++ b/srcpkgs/chroot-patch/template @@ -1,7 +1,7 @@ # Template file for 'chroot-patch' pkgname=chroot-patch version=2.7.1 -revision=2 +revision=3 wrksrc="patch-${version}" bootstrap=yes build_style=gnu-configure @@ -17,4 +17,7 @@ checksum=aae676de9e95051f425af4507fcc9a019941a2a1f78405e7dbd40bccf786aa11 post_install() { rm -rf ${DESTDIR}/usr/share + if [ -f ${DESTDIR}/usr/lib/charset.alias ]; then + rm -f ${DESTDIR}/usr/lib/charset.alias + fi }