Sophie

Sophie

distrib > Mageia > 6 > armv5tl > by-pkgid > cfbcbddc90c675d6f1e29e4f77cedeb0 > scriptlet

bluez-5.45-2.1.mga6.armv5tl.rpm

PREUN

/bin/sh
/usr/share/rpm-helper/del-service bluez $1 bluetooth

POSTIN

/bin/sh
#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 $1 bluetooth 


# Ensure that the old broken dangling link will be removed from users system (mga#17682)
# NOTE can be removed for mga7
update-alternatives --remove bluepin /usr/bin/bluepin || :