chroot-gzip: remove charset.alias if exists.

This commit is contained in:
Juan RP 2014-01-14 10:44:17 +01:00
parent d5ed024f37
commit 15f2227373
1 changed files with 4 additions and 1 deletions

View File

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