Commit 4015d1a3 authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

Added check for upgrade vs install for rpm

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@9278 b35dd754-fafc-0310-a699-88a17e54d16e
parent 55a2f9b4
......@@ -77,7 +77,9 @@ rm -rf $RPM_BUILD_ROOT
%preun
[ -x "/etc/init.d/openfire" ] && /etc/init.d/openfire stop
/sbin/chkconfig --del openfire
if [ "$1" != 0 ]; then
/sbin/chkconfig --del openfire
fi
%post
/sbin/chkconfig --add openfire
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment