gnome-bluetooth: added a conf file to update ld.so(8) cache.

This commit is contained in:
Juan RP 2011-05-26 10:13:37 +02:00
parent 96257e13c4
commit e5360ef60e
3 changed files with 22 additions and 1 deletions

View file

@ -0,0 +1,6 @@
case "${ACTION}" in
post)
echo -n "Updating dynamic linker shared cache... "
ldconfig && echo "ok." || echo "FAILED!"
;;
esac

View file

@ -0,0 +1,6 @@
case "${ACTION}" in
post)
echo -n "Updating dynamic linker shared cache... "
ldconfig && echo "ok." || echo "FAILED!"
;;
esac

View file

@ -1,7 +1,7 @@
# Template file for 'gnome-bluetooth'
pkgname=gnome-bluetooth
version=3.0.0
revision=2
revision=3
distfiles="${GNOME_SITE}/$pkgname/3.0/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--disable-desktop-update --disable-schemas-compile
@ -71,4 +71,13 @@ post_install()
{
install -m644 -D ${FILESDIR}/61-gnome-bluetooth-rfkill.rules \
${DESTDIR}/lib/udev/rules.d//61-gnome-bluetooth-rfkill.rules
install -d ${DESTDIR}/etc/ld.so.conf.d
echo "/usr/lib/gnome-bluetooth" > \
${DESTDIR}/etc/ld.so.conf.d/${pkgname}.conf
}
post_stow()
{
msg_normal "Updating ld.so(8) cache for ${pkgname}...\n"
ldconfig -f /etc/ld.so.conf.d/${pkgname}.conf
}