Sophie

Sophie

distrib > Mageia > cauldron > i586 > media > core-release > by-pkgid > 974c2f6fa85c5dad6b5127cc359542b0 > scriptlet

golang-github-prometheus-2.32.1-2.mga9.i586.rpm

PREIN

/bin/sh
%sysusers_create_compat /home/iurt/rpmbuild/SOURCES/prometheus.sysusers

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 prometheus.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 prometheus.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 prometheus.service || : 
fi