Sophie

Sophie

distrib > Mageia > cauldron > x86_64 > media > core-release > by-pkgid > 7c8727cd0cf9203b2a384ab63909adc5 > scriptlet

blueman-2.3.5-1.mga9.x86_64.rpm

PREUN

/bin/sh

 
if [ $1 -eq 0 ] && [ -x "/usr/lib/systemd/systemd-update-helper" ]; then 
    # Package removal, not upgrade 
    /usr/lib/systemd/systemd-update-helper remove-system-units blueman-mechanism.service || : 
fi 


 
if [ $1 -eq 0 ] && [ -x "/usr/lib/systemd/systemd-update-helper" ]; then 
    # Package removal, not upgrade 
    /usr/lib/systemd/systemd-update-helper remove-user-units blueman-applet.service || : 
fi

POSTIN

/bin/sh

 
if [ $1 -eq 1 ] && [ -x "/usr/lib/systemd/systemd-update-helper" ]; then 
    # Initial installation 
    /usr/lib/systemd/systemd-update-helper install-system-units blueman-mechanism.service || : 
fi 


 
if [ $1 -eq 1 ] && [ -x "/usr/lib/systemd/systemd-update-helper" ]; then 
    # Initial installation 
    /usr/lib/systemd/systemd-update-helper install-user-units blueman-applet.service || : 
fi

POSTUN

/bin/sh

 
if [ $1 -ge 1 ] && [ -x "/usr/lib/systemd/systemd-update-helper" ]; then 
    # Package upgrade, not uninstall 
    /usr/lib/systemd/systemd-update-helper mark-restart-system-units blueman-mechanism.service || : 
fi