Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 04a4887aca01bd40447ad81bee915d70 > scriptlet

bluez-utils-3.36-6mdv2009.0.i586.rpm

PREUN

/bin/sh
/usr/share/rpm-helper/del-service bluez-utils $1 bluetooth 
/usr/share/rpm-helper/del-service bluez-utils $1 dund 
/usr/share/rpm-helper/del-service bluez-utils $1 hidd 
/usr/share/rpm-helper/del-service bluez-utils $1 pand

POSTIN

/bin/sh
#remove obsolete alternative
if [ -h /etc/alternatives/bluepin ]; then
  update-alternatives --remove bluepin /usr/bin/bluepin
fi
#migrate old configuration
if [ "$1" = "2" -a -d /var/lib/lib/bluetooth ]; then
 mv -f /var/lib/lib/bluetooth/* /var/lib/bluetooth/ > /dev/null 2>&1 || exit 0 
 rmdir /var/lib/lib/bluetooth/ > /dev/null 2>&1 || exit 0
 rmdir /var/lib/lib/ > /dev/null 2>&1 || exit 0
fi
/usr/share/rpm-helper/add-service bluez-utils $1 bluetooth 
/usr/share/rpm-helper/add-service bluez-utils $1 dund 
/usr/share/rpm-helper/add-service bluez-utils $1 hidd 
/usr/share/rpm-helper/add-service bluez-utils $1 pand

Triggers

bluez-utils < 2.9-1mdk

/bin/sh
/sbin/chkconfig bluetooth reset