Sophie

Sophie

distrib > Mageia > 6 > x86_64 > by-pkgid > 0024db5927d136521c41182b54f118e7 > scriptlet

bluez-5.45-2.2.mga6.x86_64.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 || :