Changes of Revision 14
[-] | Changed | hddtemp.spec |
x 1
2 %endif 3 4 %post 5 +%fillup_and_insserv -Y 6 +%restart_on_update 7 if [ ! -f /etc/bash.bashrc.local ] ; then 8 echo PATH=\$PATH:/usr/sbin >> /etc/bash.bashrc.local 9 else 10
11 echo PATH=\$PATH:/usr/sbin >> /etc/bash.bashrc.local 12 fi 13 fi 14 -case "$1" in 15 - 1) # new install 16 - %fillup_and_insserv -Y 17 - ;; 18 - 2) # upgrade/reinstall 19 - %restart_on_update 20 - ;; 21 -esac 22 23 %preun 24 -if [ "$1" = "0" ]; then # remove 25 - %stop_on_removal 26 -fi 27 +%stop_on_removal 28 29 30 %clean 31 |