mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-01-23 17:33:34 +08:00
lib32-pango doesn't use querymodules anymore
This commit is contained in:
parent
69478b784d
commit
1ab38fe8b8
@ -3,7 +3,7 @@
|
||||
_pkgbasename=pango
|
||||
pkgname=lib32-$_pkgbasename
|
||||
pkgver=1.38.1
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="A library for layout and rendering of text (32-bit)"
|
||||
arch=('x86_64')
|
||||
license=('LGPL')
|
||||
|
@ -3,7 +3,6 @@ post_install() {
|
||||
# we need to ldconfig first, in case xfree86's libs aren't
|
||||
# in ld.so.cache yet
|
||||
sbin/ldconfig -r .
|
||||
usr/bin/pango-querymodules-32 >etc/pango/pango.modules-32
|
||||
}
|
||||
|
||||
# arg 1: the new package version
|
||||
@ -12,10 +11,9 @@ post_upgrade() {
|
||||
if [ -f etc/pango/pango.modules-32 ]; then
|
||||
rm etc/pango/pango.modules-32
|
||||
fi
|
||||
post_install $1
|
||||
}
|
||||
|
||||
# arg 1: the old package version
|
||||
pre_remove() {
|
||||
rm etc/pango/pango.modules-32
|
||||
post_upgrade
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user