chroot-sed: remove charset.alias if exists.

This commit is contained in:
Juan RP 2014-01-14 10:45:50 +01:00
parent f0f1e182d2
commit d55ec7b0b0

View File

@ -1,7 +1,7 @@
# Template file for 'chroot-sed'
pkgname=chroot-sed
version=4.2.2
revision=1
revision=2
wrksrc="sed-${version}"
bootstrap=yes
conflicts="sed>=0"
@ -17,4 +17,7 @@ checksum=fea0a94d4b605894f3e2d5572e3f96e4413bcad3a085aae7367c2cf07908b2ff
post_install() {
rm -rf ${DESTDIR}/usr/share
if [ -f ${DESTDIR}/usr/lib/charset.alias ]; then
rm -f ${DESTDIR}/usr/lib/charset.alias
fi
}