lib32-pango doesn't use querymodules anymore

This commit is contained in:
Weng Xuetian 2015-12-17 16:12:44 +00:00
parent 69478b784d
commit 1ab38fe8b8
2 changed files with 2 additions and 4 deletions

View File

@ -3,7 +3,7 @@
_pkgbasename=pango _pkgbasename=pango
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=1.38.1 pkgver=1.38.1
pkgrel=1 pkgrel=2
pkgdesc="A library for layout and rendering of text (32-bit)" pkgdesc="A library for layout and rendering of text (32-bit)"
arch=('x86_64') arch=('x86_64')
license=('LGPL') license=('LGPL')

View File

@ -3,7 +3,6 @@ post_install() {
# we need to ldconfig first, in case xfree86's libs aren't # we need to ldconfig first, in case xfree86's libs aren't
# in ld.so.cache yet # in ld.so.cache yet
sbin/ldconfig -r . sbin/ldconfig -r .
usr/bin/pango-querymodules-32 >etc/pango/pango.modules-32
} }
# arg 1: the new package version # arg 1: the new package version
@ -12,10 +11,9 @@ post_upgrade() {
if [ -f etc/pango/pango.modules-32 ]; then if [ -f etc/pango/pango.modules-32 ]; then
rm etc/pango/pango.modules-32 rm etc/pango/pango.modules-32
fi fi
post_install $1
} }
# arg 1: the old package version # arg 1: the old package version
pre_remove() { pre_remove() {
rm etc/pango/pango.modules-32 post_upgrade
} }