Actions
Bug #391
closed%post action in lighttpd.spec will never execute
Status:
Fixed
Priority:
Normal
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:
Description
Lines 50-55 of lighttpd.spec are:
%post if test "$1" = "0"; then # real install, not upgrade /sbin/chkconfig --add lighttpd fi
From http://www.fedora.us/docs/spec.html :
install erase upgrade reinstall %pre 1 - 2 2 %post 1 - 2 2 %preun - 0 1 - %postun - 0 1 -
In other words, $1 will never be 0 in a %post action. The 0 should be changed to 1.
-- mattalbright
Updated by stbuehler almost 17 years ago
- Status changed from New to Fixed
- Resolution set to fixed
Removed .spec from source in r2157
Actions
Also available in: Atom