Don't make the rpm %post fail just because the server has never been

configured before (and therefore there is nothing to upgrade, just let
it spit out warnings for admins that actually check whats going on.
This commit is contained in:
Simo Sorce 2008-05-22 17:18:04 -04:00
parent 927447b144
commit 0695649926

View File

@ -93,7 +93,7 @@ fi
/bin/chown apache /var/log/ipa_error.log
/bin/chmod 600 /var/log/ipa_error.log
restorecon /var/log/ipa_error.log
/usr/sbin/ipa-upgradeconfig
/usr/sbin/ipa-upgradeconfig || :
%preun
if [ $1 = 0 ]; then