Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > fe8d5affe0a9cee1d6d32c6bc399a141 > scriptlet

spacewalk-config-1.2.7-1.fc14.noarch.rpm

PREIN

/bin/sh
# This section is needed here because previous versions of spacewalk-config
# (and rhn-satellite-config) "owned" the satellite-httpd service. We need
# to keep this section here indefinitely, because Satellite 5.2 could
# be upgraded directly to our version of Spacewalk.
if [ -f /etc/init.d/satellite-httpd ] ; then
    /sbin/service satellite-httpd stop >/dev/null 2>&1
    /sbin/chkconfig --del satellite-httpd
    /usr/bin/perl -i -ne 'print unless /satellite-httpd\.pid/' /etc/logrotate.d/httpd
fi