Search
j0ke.net Open Build Service
>
Projects
>
stresslinux
>
hddtemp
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 14
[-]
[+]
Changed
hddtemp.spec
@@ -55,6 +55,8 @@ %endif %post +%fillup_and_insserv -Y +%restart_on_update if [ ! -f /etc/bash.bashrc.local ] ; then echo PATH=\$PATH:/usr/sbin >> /etc/bash.bashrc.local else @@ -63,19 +65,9 @@ echo PATH=\$PATH:/usr/sbin >> /etc/bash.bashrc.local fi fi -case "$1" in - 1) # new install - %fillup_and_insserv -Y - ;; - 2) # upgrade/reinstall - %restart_on_update - ;; -esac %preun -if [ "$1" = "0" ]; then # remove - %stop_on_removal -fi +%stop_on_removal %clean