POSTIN
/bin/sh
if [ ! -f /etc/webapps/horde/conf.php.bak ]; then
install /dev/null -o root -g http -m660 /etc/webapps/horde/conf.php.bak
fi
if [ "$1" = 1 ]; then
RPM_SCRIPTVERBOSITY=5
[ -r /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
if [ -x /usr/bin/banner.sh ]; then
CMD="/usr/bin/banner.sh --stderr $([ $RPM_SCRIPTVERBOSITY -ge 5 ] && echo -s) -m horde"
else
CMD="cat >&2"
fi
eval $CMD <<'EOF'
Please read README.PLD from documentation.
EOF
fi
Triggers
apache1 <
1.3.37-3
/bin/sh
if [ "$1" = "1" ] && [ "$2" = "1" ]; then
/usr/sbin/webapp register apache horde
fi
# reload webserver if the config symlink is there and skip reload if webserver is upgraded
if [ -L /etc/apache/webapps.d/horde.conf ] && [ "$2" -lt "2" ]; then
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache reload 1>&2 || :;
fi
fi };
fi
apache1-base
/bin/sh
# remove link if either of the packages are gone
if [ -n "" ] || [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L /etc/apache/webapps.d/horde.conf ]; then
/usr/sbin/webapp unregister apache horde
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache reload 1>&2 || :;
fi
fi };
fi
apache1 <
1.3.37-3
/bin/sh
if [ "$1" = "1" ] && [ "$2" = "1" ]; then
/usr/sbin/webapp register httpd horde
fi
# reload webserver if the config symlink is there and skip reload if webserver is upgraded
if [ -L /etc/httpd/webapps.d/horde.conf ] && [ "$2" -lt "2" ]; then
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/httpd ]; then
/sbin/service httpd reload 1>&2 || :;
fi
fi };
fi
apache1-base
/bin/sh
# remove link if either of the packages are gone
if [ -n "" ] || [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L /etc/httpd/webapps.d/horde.conf ]; then
/usr/sbin/webapp unregister httpd horde
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/httpd ]; then
/sbin/service httpd reload 1>&2 || :;
fi
fi };
fi
apache <
2.2.0
/bin/sh
if [ "$1" = "1" ] && [ "$2" = "1" ]; then
/usr/sbin/webapp register lighttpd horde
fi
# reload webserver if the config symlink is there and skip reload if webserver is upgraded
if [ -L /etc/lighttpd/webapps.d/horde.conf ] && [ "$2" -lt "2" ]; then
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/lighttpd ] && . /etc/sysconfig/lighttpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/lighttpd ]; then
/sbin/service lighttpd reload 1>&2 || :;
fi
fi };
fi
apache-base
/bin/sh
# remove link if either of the packages are gone
if [ -n "" ] || [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L /etc/lighttpd/webapps.d/horde.conf ]; then
/usr/sbin/webapp unregister lighttpd horde
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/lighttpd ] && . /etc/sysconfig/lighttpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/lighttpd ]; then
/sbin/service lighttpd reload 1>&2 || :;
fi
fi };
fi
apache <
2.2.0
/bin/sh
for i in conf.php hooks.php mime_drivers.php motd.php nls.php prefs.php registry.php; do
if [ -f /etc/horde.org/horde/$i.rpmsave ]; then
mv -f /etc/webapps/horde/$i{,.rpmnew}
mv -f /etc/horde.org/horde/$i.rpmsave /etc/webapps/horde/$i
fi
done
if [ -f /etc/horde.org/apache-horde.conf.rpmsave ]; then
mv -f /etc/webapps/horde/apache.conf{,.rpmnew}
mv -f /etc/webapps/horde/httpd.conf{,.rpmnew}
cp -f /etc/horde.org/apache-horde.conf.rpmsave /etc/webapps/horde/apache.conf
cp -f /etc/horde.org/apache-horde.conf.rpmsave /etc/webapps/horde/httpd.conf
rm -f /etc/horde.org/apache-horde.conf.rpmsave
fi
if [ -L /etc/apache/conf.d/99_horde.conf ]; then
/usr/sbin/webapp register apache horde
rm -f /etc/apache/conf.d/99_horde.conf
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache reload 1>&2 || :;
fi
fi };fi
if [ -L /etc/httpd/httpd.conf/99_horde.conf ]; then
/usr/sbin/webapp register httpd horde
rm -f /etc/httpd/httpd.conf/99_horde.conf
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/httpd ]; then
/sbin/service httpd reload 1>&2 || :;
fi
fi };fi
apache-base
/bin/sh
if [ "$1" = "1" ] && [ "$2" = "1" ]; then
/usr/sbin/webapp register apache horde
fi
# reload webserver if the config symlink is there and skip reload if webserver is upgraded
if [ -L /etc/apache/webapps.d/horde.conf ] && [ "$2" -lt "2" ]; then
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache reload 1>&2 || :;
fi
fi };
fi
lighttpd
/bin/sh
# remove link if either of the packages are gone
if [ -n "" ] || [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L /etc/apache/webapps.d/horde.conf ]; then
/usr/sbin/webapp unregister apache horde
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache reload 1>&2 || :;
fi
fi };
fi
lighttpd
/bin/sh
if [ "$1" = "1" ] && [ "$2" = "1" ]; then
/usr/sbin/webapp register httpd horde
fi
# reload webserver if the config symlink is there and skip reload if webserver is upgraded
if [ -L /etc/httpd/webapps.d/horde.conf ] && [ "$2" -lt "2" ]; then
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/httpd ]; then
/sbin/service httpd reload 1>&2 || :;
fi
fi };
fi
horde <
3.0.7-1.4
/bin/sh
# remove link if either of the packages are gone
if [ -n "" ] || [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L /etc/httpd/webapps.d/horde.conf ]; then
/usr/sbin/webapp unregister httpd horde
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/httpd ]; then
/sbin/service httpd reload 1>&2 || :;
fi
fi };
fi
apache1 <
1.3.37-3
/bin/sh
if [ "$1" = "1" ] && [ "$2" = "1" ]; then
/usr/sbin/webapp register lighttpd horde
fi
# reload webserver if the config symlink is there and skip reload if webserver is upgraded
if [ -L /etc/lighttpd/webapps.d/horde.conf ] && [ "$2" -lt "2" ]; then
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/lighttpd ] && . /etc/sysconfig/lighttpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/lighttpd ]; then
/sbin/service lighttpd reload 1>&2 || :;
fi
fi };
fi
apache1-base
/bin/sh
# remove link if either of the packages are gone
if [ -n "" ] || [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L /etc/lighttpd/webapps.d/horde.conf ]; then
/usr/sbin/webapp unregister lighttpd horde
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/lighttpd ] && . /etc/sysconfig/lighttpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/lighttpd ]; then
/sbin/service lighttpd reload 1>&2 || :;
fi
fi };
fi
apache1 <
1.3.37-3
/bin/sh
for i in conf.php hooks.php mime_drivers.php motd.php nls.php prefs.php registry.php; do
if [ -f /etc/horde.org/horde/$i.rpmsave ]; then
mv -f /etc/webapps/horde/$i{,.rpmnew}
mv -f /etc/horde.org/horde/$i.rpmsave /etc/webapps/horde/$i
fi
done
if [ -f /etc/horde.org/apache-horde.conf.rpmsave ]; then
mv -f /etc/webapps/horde/apache.conf{,.rpmnew}
mv -f /etc/webapps/horde/httpd.conf{,.rpmnew}
cp -f /etc/horde.org/apache-horde.conf.rpmsave /etc/webapps/horde/apache.conf
cp -f /etc/horde.org/apache-horde.conf.rpmsave /etc/webapps/horde/httpd.conf
rm -f /etc/horde.org/apache-horde.conf.rpmsave
fi
if [ -L /etc/apache/conf.d/99_horde.conf ]; then
/usr/sbin/webapp register apache horde
rm -f /etc/apache/conf.d/99_horde.conf
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache reload 1>&2 || :;
fi
fi };fi
if [ -L /etc/httpd/httpd.conf/99_horde.conf ]; then
/usr/sbin/webapp register httpd horde
rm -f /etc/httpd/httpd.conf/99_horde.conf
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/httpd ]; then
/sbin/service httpd reload 1>&2 || :;
fi
fi };fi
apache1-base
/bin/sh
if [ "$1" = "1" ] && [ "$2" = "1" ]; then
/usr/sbin/webapp register apache horde
fi
# reload webserver if the config symlink is there and skip reload if webserver is upgraded
if [ -L /etc/apache/webapps.d/horde.conf ] && [ "$2" -lt "2" ]; then
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache reload 1>&2 || :;
fi
fi };
fi
apache <
2.2.0
/bin/sh
# remove link if either of the packages are gone
if [ -n "" ] || [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L /etc/apache/webapps.d/horde.conf ]; then
/usr/sbin/webapp unregister apache horde
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache reload 1>&2 || :;
fi
fi };
fi
apache-base
/bin/sh
if [ "$1" = "1" ] && [ "$2" = "1" ]; then
/usr/sbin/webapp register httpd horde
fi
# reload webserver if the config symlink is there and skip reload if webserver is upgraded
if [ -L /etc/httpd/webapps.d/horde.conf ] && [ "$2" -lt "2" ]; then
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/httpd ]; then
/sbin/service httpd reload 1>&2 || :;
fi
fi };
fi
apache <
2.2.0
/bin/sh
# remove link if either of the packages are gone
if [ -n "" ] || [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L /etc/httpd/webapps.d/horde.conf ]; then
/usr/sbin/webapp unregister httpd horde
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/httpd ]; then
/sbin/service httpd reload 1>&2 || :;
fi
fi };
fi
apache-base
/bin/sh
if [ "$1" = "1" ] && [ "$2" = "1" ]; then
/usr/sbin/webapp register lighttpd horde
fi
# reload webserver if the config symlink is there and skip reload if webserver is upgraded
if [ -L /etc/lighttpd/webapps.d/horde.conf ] && [ "$2" -lt "2" ]; then
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/lighttpd ] && . /etc/sysconfig/lighttpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/lighttpd ]; then
/sbin/service lighttpd reload 1>&2 || :;
fi
fi };
fi
lighttpd
/bin/sh
# remove link if either of the packages are gone
if [ -n "" ] || [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L /etc/lighttpd/webapps.d/horde.conf ]; then
/usr/sbin/webapp unregister lighttpd horde
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/lighttpd ] && . /etc/sysconfig/lighttpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/lighttpd ]; then
/sbin/service lighttpd reload 1>&2 || :;
fi
fi };
fi
lighttpd
/bin/sh
for i in conf.php hooks.php mime_drivers.php motd.php nls.php prefs.php registry.php; do
if [ -f /etc/horde.org/horde/$i.rpmsave ]; then
mv -f /etc/webapps/horde/$i{,.rpmnew}
mv -f /etc/horde.org/horde/$i.rpmsave /etc/webapps/horde/$i
fi
done
if [ -f /etc/horde.org/apache-horde.conf.rpmsave ]; then
mv -f /etc/webapps/horde/apache.conf{,.rpmnew}
mv -f /etc/webapps/horde/httpd.conf{,.rpmnew}
cp -f /etc/horde.org/apache-horde.conf.rpmsave /etc/webapps/horde/apache.conf
cp -f /etc/horde.org/apache-horde.conf.rpmsave /etc/webapps/horde/httpd.conf
rm -f /etc/horde.org/apache-horde.conf.rpmsave
fi
if [ -L /etc/apache/conf.d/99_horde.conf ]; then
/usr/sbin/webapp register apache horde
rm -f /etc/apache/conf.d/99_horde.conf
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache reload 1>&2 || :;
fi
fi };fi
if [ -L /etc/httpd/httpd.conf/99_horde.conf ]; then
/usr/sbin/webapp register httpd horde
rm -f /etc/httpd/httpd.conf/99_horde.conf
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/httpd ]; then
/sbin/service httpd reload 1>&2 || :;
fi
fi };fi
horde <
3.0.7-1.4
/bin/sh
if [ "$1" = "1" ] && [ "$2" = "1" ]; then
/usr/sbin/webapp register apache horde
fi
# reload webserver if the config symlink is there and skip reload if webserver is upgraded
if [ -L /etc/apache/webapps.d/horde.conf ] && [ "$2" -lt "2" ]; then
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache reload 1>&2 || :;
fi
fi };
fi
apache1 <
1.3.37-3
/bin/sh
# remove link if either of the packages are gone
if [ -n "" ] || [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L /etc/apache/webapps.d/horde.conf ]; then
/usr/sbin/webapp unregister apache horde
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache reload 1>&2 || :;
fi
fi };
fi
apache1-base
/bin/sh
if [ "$1" = "1" ] && [ "$2" = "1" ]; then
/usr/sbin/webapp register httpd horde
fi
# reload webserver if the config symlink is there and skip reload if webserver is upgraded
if [ -L /etc/httpd/webapps.d/horde.conf ] && [ "$2" -lt "2" ]; then
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/httpd ]; then
/sbin/service httpd reload 1>&2 || :;
fi
fi };
fi
apache1 <
1.3.37-3
/bin/sh
# remove link if either of the packages are gone
if [ -n "" ] || [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L /etc/httpd/webapps.d/horde.conf ]; then
/usr/sbin/webapp unregister httpd horde
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/httpd ]; then
/sbin/service httpd reload 1>&2 || :;
fi
fi };
fi
apache1-base
/bin/sh
if [ "$1" = "1" ] && [ "$2" = "1" ]; then
/usr/sbin/webapp register lighttpd horde
fi
# reload webserver if the config symlink is there and skip reload if webserver is upgraded
if [ -L /etc/lighttpd/webapps.d/horde.conf ] && [ "$2" -lt "2" ]; then
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/lighttpd ] && . /etc/sysconfig/lighttpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/lighttpd ]; then
/sbin/service lighttpd reload 1>&2 || :;
fi
fi };
fi
apache <
2.2.0
/bin/sh
# remove link if either of the packages are gone
if [ -n "" ] || [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L /etc/lighttpd/webapps.d/horde.conf ]; then
/usr/sbin/webapp unregister lighttpd horde
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/lighttpd ] && . /etc/sysconfig/lighttpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/lighttpd ]; then
/sbin/service lighttpd reload 1>&2 || :;
fi
fi };
fi
apache-base
/bin/sh
for i in conf.php hooks.php mime_drivers.php motd.php nls.php prefs.php registry.php; do
if [ -f /etc/horde.org/horde/$i.rpmsave ]; then
mv -f /etc/webapps/horde/$i{,.rpmnew}
mv -f /etc/horde.org/horde/$i.rpmsave /etc/webapps/horde/$i
fi
done
if [ -f /etc/horde.org/apache-horde.conf.rpmsave ]; then
mv -f /etc/webapps/horde/apache.conf{,.rpmnew}
mv -f /etc/webapps/horde/httpd.conf{,.rpmnew}
cp -f /etc/horde.org/apache-horde.conf.rpmsave /etc/webapps/horde/apache.conf
cp -f /etc/horde.org/apache-horde.conf.rpmsave /etc/webapps/horde/httpd.conf
rm -f /etc/horde.org/apache-horde.conf.rpmsave
fi
if [ -L /etc/apache/conf.d/99_horde.conf ]; then
/usr/sbin/webapp register apache horde
rm -f /etc/apache/conf.d/99_horde.conf
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache reload 1>&2 || :;
fi
fi };fi
if [ -L /etc/httpd/httpd.conf/99_horde.conf ]; then
/usr/sbin/webapp register httpd horde
rm -f /etc/httpd/httpd.conf/99_horde.conf
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/httpd ]; then
/sbin/service httpd reload 1>&2 || :;
fi
fi };fi
apache <
2.2.0
/bin/sh
if [ "$1" = "1" ] && [ "$2" = "1" ]; then
/usr/sbin/webapp register apache horde
fi
# reload webserver if the config symlink is there and skip reload if webserver is upgraded
if [ -L /etc/apache/webapps.d/horde.conf ] && [ "$2" -lt "2" ]; then
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache reload 1>&2 || :;
fi
fi };
fi
apache-base
/bin/sh
# remove link if either of the packages are gone
if [ -n "" ] || [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L /etc/apache/webapps.d/horde.conf ]; then
/usr/sbin/webapp unregister apache horde
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache reload 1>&2 || :;
fi
fi };
fi
lighttpd
/bin/sh
if [ "$1" = "1" ] && [ "$2" = "1" ]; then
/usr/sbin/webapp register httpd horde
fi
# reload webserver if the config symlink is there and skip reload if webserver is upgraded
if [ -L /etc/httpd/webapps.d/horde.conf ] && [ "$2" -lt "2" ]; then
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/httpd ]; then
/sbin/service httpd reload 1>&2 || :;
fi
fi };
fi
lighttpd
/bin/sh
# remove link if either of the packages are gone
if [ -n "" ] || [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L /etc/httpd/webapps.d/horde.conf ]; then
/usr/sbin/webapp unregister httpd horde
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/httpd ]; then
/sbin/service httpd reload 1>&2 || :;
fi
fi };
fi
horde <
3.0.7-1.4
/bin/sh
if [ "$1" = "1" ] && [ "$2" = "1" ]; then
/usr/sbin/webapp register lighttpd horde
fi
# reload webserver if the config symlink is there and skip reload if webserver is upgraded
if [ -L /etc/lighttpd/webapps.d/horde.conf ] && [ "$2" -lt "2" ]; then
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/lighttpd ] && . /etc/sysconfig/lighttpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/lighttpd ]; then
/sbin/service lighttpd reload 1>&2 || :;
fi
fi };
fi
apache1 <
1.3.37-3
/bin/sh
# remove link if either of the packages are gone
if [ -n "" ] || [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L /etc/lighttpd/webapps.d/horde.conf ]; then
/usr/sbin/webapp unregister lighttpd horde
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/lighttpd ] && . /etc/sysconfig/lighttpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/lighttpd ]; then
/sbin/service lighttpd reload 1>&2 || :;
fi
fi };
fi
apache1-base
/bin/sh
for i in conf.php hooks.php mime_drivers.php motd.php nls.php prefs.php registry.php; do
if [ -f /etc/horde.org/horde/$i.rpmsave ]; then
mv -f /etc/webapps/horde/$i{,.rpmnew}
mv -f /etc/horde.org/horde/$i.rpmsave /etc/webapps/horde/$i
fi
done
if [ -f /etc/horde.org/apache-horde.conf.rpmsave ]; then
mv -f /etc/webapps/horde/apache.conf{,.rpmnew}
mv -f /etc/webapps/horde/httpd.conf{,.rpmnew}
cp -f /etc/horde.org/apache-horde.conf.rpmsave /etc/webapps/horde/apache.conf
cp -f /etc/horde.org/apache-horde.conf.rpmsave /etc/webapps/horde/httpd.conf
rm -f /etc/horde.org/apache-horde.conf.rpmsave
fi
if [ -L /etc/apache/conf.d/99_horde.conf ]; then
/usr/sbin/webapp register apache horde
rm -f /etc/apache/conf.d/99_horde.conf
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache reload 1>&2 || :;
fi
fi };fi
if [ -L /etc/httpd/httpd.conf/99_horde.conf ]; then
/usr/sbin/webapp register httpd horde
rm -f /etc/httpd/httpd.conf/99_horde.conf
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/httpd ]; then
/sbin/service httpd reload 1>&2 || :;
fi
fi };fi
apache1 <
1.3.37-3
/bin/sh
if [ "$1" = "1" ] && [ "$2" = "1" ]; then
/usr/sbin/webapp register apache horde
fi
# reload webserver if the config symlink is there and skip reload if webserver is upgraded
if [ -L /etc/apache/webapps.d/horde.conf ] && [ "$2" -lt "2" ]; then
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache reload 1>&2 || :;
fi
fi };
fi
apache1-base
/bin/sh
# remove link if either of the packages are gone
if [ -n "" ] || [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L /etc/apache/webapps.d/horde.conf ]; then
/usr/sbin/webapp unregister apache horde
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache reload 1>&2 || :;
fi
fi };
fi
apache <
2.2.0
/bin/sh
if [ "$1" = "1" ] && [ "$2" = "1" ]; then
/usr/sbin/webapp register httpd horde
fi
# reload webserver if the config symlink is there and skip reload if webserver is upgraded
if [ -L /etc/httpd/webapps.d/horde.conf ] && [ "$2" -lt "2" ]; then
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/httpd ]; then
/sbin/service httpd reload 1>&2 || :;
fi
fi };
fi
apache-base
/bin/sh
# remove link if either of the packages are gone
if [ -n "" ] || [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L /etc/httpd/webapps.d/horde.conf ]; then
/usr/sbin/webapp unregister httpd horde
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/httpd ]; then
/sbin/service httpd reload 1>&2 || :;
fi
fi };
fi
apache <
2.2.0
/bin/sh
if [ "$1" = "1" ] && [ "$2" = "1" ]; then
/usr/sbin/webapp register lighttpd horde
fi
# reload webserver if the config symlink is there and skip reload if webserver is upgraded
if [ -L /etc/lighttpd/webapps.d/horde.conf ] && [ "$2" -lt "2" ]; then
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/lighttpd ] && . /etc/sysconfig/lighttpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/lighttpd ]; then
/sbin/service lighttpd reload 1>&2 || :;
fi
fi };
fi
apache-base
/bin/sh
# remove link if either of the packages are gone
if [ -n "" ] || [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L /etc/lighttpd/webapps.d/horde.conf ]; then
/usr/sbin/webapp unregister lighttpd horde
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/lighttpd ] && . /etc/sysconfig/lighttpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/lighttpd ]; then
/sbin/service lighttpd reload 1>&2 || :;
fi
fi };
fi
lighttpd
/bin/sh
for i in conf.php hooks.php mime_drivers.php motd.php nls.php prefs.php registry.php; do
if [ -f /etc/horde.org/horde/$i.rpmsave ]; then
mv -f /etc/webapps/horde/$i{,.rpmnew}
mv -f /etc/horde.org/horde/$i.rpmsave /etc/webapps/horde/$i
fi
done
if [ -f /etc/horde.org/apache-horde.conf.rpmsave ]; then
mv -f /etc/webapps/horde/apache.conf{,.rpmnew}
mv -f /etc/webapps/horde/httpd.conf{,.rpmnew}
cp -f /etc/horde.org/apache-horde.conf.rpmsave /etc/webapps/horde/apache.conf
cp -f /etc/horde.org/apache-horde.conf.rpmsave /etc/webapps/horde/httpd.conf
rm -f /etc/horde.org/apache-horde.conf.rpmsave
fi
if [ -L /etc/apache/conf.d/99_horde.conf ]; then
/usr/sbin/webapp register apache horde
rm -f /etc/apache/conf.d/99_horde.conf
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache reload 1>&2 || :;
fi
fi };fi
if [ -L /etc/httpd/httpd.conf/99_horde.conf ]; then
/usr/sbin/webapp register httpd horde
rm -f /etc/httpd/httpd.conf/99_horde.conf
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/httpd ]; then
/sbin/service httpd reload 1>&2 || :;
fi
fi };fi
lighttpd
/bin/sh
if [ "$1" = "1" ] && [ "$2" = "1" ]; then
/usr/sbin/webapp register apache horde
fi
# reload webserver if the config symlink is there and skip reload if webserver is upgraded
if [ -L /etc/apache/webapps.d/horde.conf ] && [ "$2" -lt "2" ]; then
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache reload 1>&2 || :;
fi
fi };
fi
horde <
3.0.7-1.4
/bin/sh
# remove link if either of the packages are gone
if [ -n "" ] || [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L /etc/apache/webapps.d/horde.conf ]; then
/usr/sbin/webapp unregister apache horde
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache reload 1>&2 || :;
fi
fi };
fi
apache1 <
1.3.37-3
/bin/sh
if [ "$1" = "1" ] && [ "$2" = "1" ]; then
/usr/sbin/webapp register httpd horde
fi
# reload webserver if the config symlink is there and skip reload if webserver is upgraded
if [ -L /etc/httpd/webapps.d/horde.conf ] && [ "$2" -lt "2" ]; then
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/httpd ]; then
/sbin/service httpd reload 1>&2 || :;
fi
fi };
fi
apache1-base
/bin/sh
# remove link if either of the packages are gone
if [ -n "" ] || [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L /etc/httpd/webapps.d/horde.conf ]; then
/usr/sbin/webapp unregister httpd horde
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/httpd ]; then
/sbin/service httpd reload 1>&2 || :;
fi
fi };
fi
apache1 <
1.3.37-3
/bin/sh
if [ "$1" = "1" ] && [ "$2" = "1" ]; then
/usr/sbin/webapp register lighttpd horde
fi
# reload webserver if the config symlink is there and skip reload if webserver is upgraded
if [ -L /etc/lighttpd/webapps.d/horde.conf ] && [ "$2" -lt "2" ]; then
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/lighttpd ] && . /etc/sysconfig/lighttpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/lighttpd ]; then
/sbin/service lighttpd reload 1>&2 || :;
fi
fi };
fi
apache1-base
/bin/sh
# remove link if either of the packages are gone
if [ -n "" ] || [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L /etc/lighttpd/webapps.d/horde.conf ]; then
/usr/sbin/webapp unregister lighttpd horde
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/lighttpd ] && . /etc/sysconfig/lighttpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/lighttpd ]; then
/sbin/service lighttpd reload 1>&2 || :;
fi
fi };
fi
apache <
2.2.0
/bin/sh
for i in conf.php hooks.php mime_drivers.php motd.php nls.php prefs.php registry.php; do
if [ -f /etc/horde.org/horde/$i.rpmsave ]; then
mv -f /etc/webapps/horde/$i{,.rpmnew}
mv -f /etc/horde.org/horde/$i.rpmsave /etc/webapps/horde/$i
fi
done
if [ -f /etc/horde.org/apache-horde.conf.rpmsave ]; then
mv -f /etc/webapps/horde/apache.conf{,.rpmnew}
mv -f /etc/webapps/horde/httpd.conf{,.rpmnew}
cp -f /etc/horde.org/apache-horde.conf.rpmsave /etc/webapps/horde/apache.conf
cp -f /etc/horde.org/apache-horde.conf.rpmsave /etc/webapps/horde/httpd.conf
rm -f /etc/horde.org/apache-horde.conf.rpmsave
fi
if [ -L /etc/apache/conf.d/99_horde.conf ]; then
/usr/sbin/webapp register apache horde
rm -f /etc/apache/conf.d/99_horde.conf
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache reload 1>&2 || :;
fi
fi };fi
if [ -L /etc/httpd/httpd.conf/99_horde.conf ]; then
/usr/sbin/webapp register httpd horde
rm -f /etc/httpd/httpd.conf/99_horde.conf
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/httpd ]; then
/sbin/service httpd reload 1>&2 || :;
fi
fi };fi
apache-base
/bin/sh
if [ "$1" = "1" ] && [ "$2" = "1" ]; then
/usr/sbin/webapp register apache horde
fi
# reload webserver if the config symlink is there and skip reload if webserver is upgraded
if [ -L /etc/apache/webapps.d/horde.conf ] && [ "$2" -lt "2" ]; then
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache reload 1>&2 || :;
fi
fi };
fi
apache <
2.2.0
/bin/sh
# remove link if either of the packages are gone
if [ -n "" ] || [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L /etc/apache/webapps.d/horde.conf ]; then
/usr/sbin/webapp unregister apache horde
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache reload 1>&2 || :;
fi
fi };
fi
apache-base
/bin/sh
if [ "$1" = "1" ] && [ "$2" = "1" ]; then
/usr/sbin/webapp register httpd horde
fi
# reload webserver if the config symlink is there and skip reload if webserver is upgraded
if [ -L /etc/httpd/webapps.d/horde.conf ] && [ "$2" -lt "2" ]; then
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/httpd ]; then
/sbin/service httpd reload 1>&2 || :;
fi
fi };
fi
lighttpd
/bin/sh
# remove link if either of the packages are gone
if [ -n "" ] || [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L /etc/httpd/webapps.d/horde.conf ]; then
/usr/sbin/webapp unregister httpd horde
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/httpd ]; then
/sbin/service httpd reload 1>&2 || :;
fi
fi };
fi
lighttpd
/bin/sh
if [ "$1" = "1" ] && [ "$2" = "1" ]; then
/usr/sbin/webapp register lighttpd horde
fi
# reload webserver if the config symlink is there and skip reload if webserver is upgraded
if [ -L /etc/lighttpd/webapps.d/horde.conf ] && [ "$2" -lt "2" ]; then
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/lighttpd ] && . /etc/sysconfig/lighttpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/lighttpd ]; then
/sbin/service lighttpd reload 1>&2 || :;
fi
fi };
fi
horde <
3.0.7-1.4
/bin/sh
# remove link if either of the packages are gone
if [ -n "" ] || [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L /etc/lighttpd/webapps.d/horde.conf ]; then
/usr/sbin/webapp unregister lighttpd horde
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/lighttpd ] && . /etc/sysconfig/lighttpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/lighttpd ]; then
/sbin/service lighttpd reload 1>&2 || :;
fi
fi };
fi
apache1 <
1.3.37-3
/bin/sh
for i in conf.php hooks.php mime_drivers.php motd.php nls.php prefs.php registry.php; do
if [ -f /etc/horde.org/horde/$i.rpmsave ]; then
mv -f /etc/webapps/horde/$i{,.rpmnew}
mv -f /etc/horde.org/horde/$i.rpmsave /etc/webapps/horde/$i
fi
done
if [ -f /etc/horde.org/apache-horde.conf.rpmsave ]; then
mv -f /etc/webapps/horde/apache.conf{,.rpmnew}
mv -f /etc/webapps/horde/httpd.conf{,.rpmnew}
cp -f /etc/horde.org/apache-horde.conf.rpmsave /etc/webapps/horde/apache.conf
cp -f /etc/horde.org/apache-horde.conf.rpmsave /etc/webapps/horde/httpd.conf
rm -f /etc/horde.org/apache-horde.conf.rpmsave
fi
if [ -L /etc/apache/conf.d/99_horde.conf ]; then
/usr/sbin/webapp register apache horde
rm -f /etc/apache/conf.d/99_horde.conf
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache reload 1>&2 || :;
fi
fi };fi
if [ -L /etc/httpd/httpd.conf/99_horde.conf ]; then
/usr/sbin/webapp register httpd horde
rm -f /etc/httpd/httpd.conf/99_horde.conf
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/httpd ]; then
/sbin/service httpd reload 1>&2 || :;
fi
fi };fi
apache1-base
/bin/sh
if [ "$1" = "1" ] && [ "$2" = "1" ]; then
/usr/sbin/webapp register apache horde
fi
# reload webserver if the config symlink is there and skip reload if webserver is upgraded
if [ -L /etc/apache/webapps.d/horde.conf ] && [ "$2" -lt "2" ]; then
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache reload 1>&2 || :;
fi
fi };
fi
apache1 <
1.3.37-3
/bin/sh
# remove link if either of the packages are gone
if [ -n "" ] || [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L /etc/apache/webapps.d/horde.conf ]; then
/usr/sbin/webapp unregister apache horde
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache reload 1>&2 || :;
fi
fi };
fi
apache1-base
/bin/sh
if [ "$1" = "1" ] && [ "$2" = "1" ]; then
/usr/sbin/webapp register httpd horde
fi
# reload webserver if the config symlink is there and skip reload if webserver is upgraded
if [ -L /etc/httpd/webapps.d/horde.conf ] && [ "$2" -lt "2" ]; then
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/httpd ]; then
/sbin/service httpd reload 1>&2 || :;
fi
fi };
fi
apache <
2.2.0
/bin/sh
# remove link if either of the packages are gone
if [ -n "" ] || [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L /etc/httpd/webapps.d/horde.conf ]; then
/usr/sbin/webapp unregister httpd horde
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/httpd ]; then
/sbin/service httpd reload 1>&2 || :;
fi
fi };
fi
apache-base
/bin/sh
if [ "$1" = "1" ] && [ "$2" = "1" ]; then
/usr/sbin/webapp register lighttpd horde
fi
# reload webserver if the config symlink is there and skip reload if webserver is upgraded
if [ -L /etc/lighttpd/webapps.d/horde.conf ] && [ "$2" -lt "2" ]; then
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/lighttpd ] && . /etc/sysconfig/lighttpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/lighttpd ]; then
/sbin/service lighttpd reload 1>&2 || :;
fi
fi };
fi
apache <
2.2.0
/bin/sh
# remove link if either of the packages are gone
if [ -n "" ] || [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L /etc/lighttpd/webapps.d/horde.conf ]; then
/usr/sbin/webapp unregister lighttpd horde
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/lighttpd ] && . /etc/sysconfig/lighttpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/lighttpd ]; then
/sbin/service lighttpd reload 1>&2 || :;
fi
fi };
fi
apache-base
/bin/sh
for i in conf.php hooks.php mime_drivers.php motd.php nls.php prefs.php registry.php; do
if [ -f /etc/horde.org/horde/$i.rpmsave ]; then
mv -f /etc/webapps/horde/$i{,.rpmnew}
mv -f /etc/horde.org/horde/$i.rpmsave /etc/webapps/horde/$i
fi
done
if [ -f /etc/horde.org/apache-horde.conf.rpmsave ]; then
mv -f /etc/webapps/horde/apache.conf{,.rpmnew}
mv -f /etc/webapps/horde/httpd.conf{,.rpmnew}
cp -f /etc/horde.org/apache-horde.conf.rpmsave /etc/webapps/horde/apache.conf
cp -f /etc/horde.org/apache-horde.conf.rpmsave /etc/webapps/horde/httpd.conf
rm -f /etc/horde.org/apache-horde.conf.rpmsave
fi
if [ -L /etc/apache/conf.d/99_horde.conf ]; then
/usr/sbin/webapp register apache horde
rm -f /etc/apache/conf.d/99_horde.conf
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache reload 1>&2 || :;
fi
fi };fi
if [ -L /etc/httpd/httpd.conf/99_horde.conf ]; then
/usr/sbin/webapp register httpd horde
rm -f /etc/httpd/httpd.conf/99_horde.conf
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/httpd ]; then
/sbin/service httpd reload 1>&2 || :;
fi
fi };fi
lighttpd
/bin/sh
if [ "$1" = "1" ] && [ "$2" = "1" ]; then
/usr/sbin/webapp register apache horde
fi
# reload webserver if the config symlink is there and skip reload if webserver is upgraded
if [ -L /etc/apache/webapps.d/horde.conf ] && [ "$2" -lt "2" ]; then
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache reload 1>&2 || :;
fi
fi };
fi
lighttpd
/bin/sh
# remove link if either of the packages are gone
if [ -n "" ] || [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L /etc/apache/webapps.d/horde.conf ]; then
/usr/sbin/webapp unregister apache horde
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache reload 1>&2 || :;
fi
fi };
fi
horde <
3.0.7-1.4
/bin/sh
if [ "$1" = "1" ] && [ "$2" = "1" ]; then
/usr/sbin/webapp register httpd horde
fi
# reload webserver if the config symlink is there and skip reload if webserver is upgraded
if [ -L /etc/httpd/webapps.d/horde.conf ] && [ "$2" -lt "2" ]; then
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/httpd ]; then
/sbin/service httpd reload 1>&2 || :;
fi
fi };
fi
apache1 <
1.3.37-3
/bin/sh
# remove link if either of the packages are gone
if [ -n "" ] || [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L /etc/httpd/webapps.d/horde.conf ]; then
/usr/sbin/webapp unregister httpd horde
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/httpd ]; then
/sbin/service httpd reload 1>&2 || :;
fi
fi };
fi
apache1-base
/bin/sh
if [ "$1" = "1" ] && [ "$2" = "1" ]; then
/usr/sbin/webapp register lighttpd horde
fi
# reload webserver if the config symlink is there and skip reload if webserver is upgraded
if [ -L /etc/lighttpd/webapps.d/horde.conf ] && [ "$2" -lt "2" ]; then
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/lighttpd ] && . /etc/sysconfig/lighttpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/lighttpd ]; then
/sbin/service lighttpd reload 1>&2 || :;
fi
fi };
fi
apache1 <
1.3.37-3
/bin/sh
# remove link if either of the packages are gone
if [ -n "" ] || [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L /etc/lighttpd/webapps.d/horde.conf ]; then
/usr/sbin/webapp unregister lighttpd horde
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/lighttpd ] && . /etc/sysconfig/lighttpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/lighttpd ]; then
/sbin/service lighttpd reload 1>&2 || :;
fi
fi };
fi
apache1-base
/bin/sh
for i in conf.php hooks.php mime_drivers.php motd.php nls.php prefs.php registry.php; do
if [ -f /etc/horde.org/horde/$i.rpmsave ]; then
mv -f /etc/webapps/horde/$i{,.rpmnew}
mv -f /etc/horde.org/horde/$i.rpmsave /etc/webapps/horde/$i
fi
done
if [ -f /etc/horde.org/apache-horde.conf.rpmsave ]; then
mv -f /etc/webapps/horde/apache.conf{,.rpmnew}
mv -f /etc/webapps/horde/httpd.conf{,.rpmnew}
cp -f /etc/horde.org/apache-horde.conf.rpmsave /etc/webapps/horde/apache.conf
cp -f /etc/horde.org/apache-horde.conf.rpmsave /etc/webapps/horde/httpd.conf
rm -f /etc/horde.org/apache-horde.conf.rpmsave
fi
if [ -L /etc/apache/conf.d/99_horde.conf ]; then
/usr/sbin/webapp register apache horde
rm -f /etc/apache/conf.d/99_horde.conf
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache reload 1>&2 || :;
fi
fi };fi
if [ -L /etc/httpd/httpd.conf/99_horde.conf ]; then
/usr/sbin/webapp register httpd horde
rm -f /etc/httpd/httpd.conf/99_horde.conf
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/httpd ]; then
/sbin/service httpd reload 1>&2 || :;
fi
fi };fi
apache <
2.2.0
/bin/sh
if [ "$1" = "1" ] && [ "$2" = "1" ]; then
/usr/sbin/webapp register apache horde
fi
# reload webserver if the config symlink is there and skip reload if webserver is upgraded
if [ -L /etc/apache/webapps.d/horde.conf ] && [ "$2" -lt "2" ]; then
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache reload 1>&2 || :;
fi
fi };
fi
apache-base
/bin/sh
# remove link if either of the packages are gone
if [ -n "" ] || [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L /etc/apache/webapps.d/horde.conf ]; then
/usr/sbin/webapp unregister apache horde
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache reload 1>&2 || :;
fi
fi };
fi
apache <
2.2.0
/bin/sh
if [ "$1" = "1" ] && [ "$2" = "1" ]; then
/usr/sbin/webapp register httpd horde
fi
# reload webserver if the config symlink is there and skip reload if webserver is upgraded
if [ -L /etc/httpd/webapps.d/horde.conf ] && [ "$2" -lt "2" ]; then
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/httpd ]; then
/sbin/service httpd reload 1>&2 || :;
fi
fi };
fi
apache-base
/bin/sh
# remove link if either of the packages are gone
if [ -n "" ] || [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L /etc/httpd/webapps.d/horde.conf ]; then
/usr/sbin/webapp unregister httpd horde
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/httpd ]; then
/sbin/service httpd reload 1>&2 || :;
fi
fi };
fi
lighttpd
/bin/sh
if [ "$1" = "1" ] && [ "$2" = "1" ]; then
/usr/sbin/webapp register lighttpd horde
fi
# reload webserver if the config symlink is there and skip reload if webserver is upgraded
if [ -L /etc/lighttpd/webapps.d/horde.conf ] && [ "$2" -lt "2" ]; then
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/lighttpd ] && . /etc/sysconfig/lighttpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/lighttpd ]; then
/sbin/service lighttpd reload 1>&2 || :;
fi
fi };
fi
lighttpd
/bin/sh
# remove link if either of the packages are gone
if [ -n "" ] || [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L /etc/lighttpd/webapps.d/horde.conf ]; then
/usr/sbin/webapp unregister lighttpd horde
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/lighttpd ] && . /etc/sysconfig/lighttpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/lighttpd ]; then
/sbin/service lighttpd reload 1>&2 || :;
fi
fi };
fi
horde <
3.0.7-1.4
/bin/sh
for i in conf.php hooks.php mime_drivers.php motd.php nls.php prefs.php registry.php; do
if [ -f /etc/horde.org/horde/$i.rpmsave ]; then
mv -f /etc/webapps/horde/$i{,.rpmnew}
mv -f /etc/horde.org/horde/$i.rpmsave /etc/webapps/horde/$i
fi
done
if [ -f /etc/horde.org/apache-horde.conf.rpmsave ]; then
mv -f /etc/webapps/horde/apache.conf{,.rpmnew}
mv -f /etc/webapps/horde/httpd.conf{,.rpmnew}
cp -f /etc/horde.org/apache-horde.conf.rpmsave /etc/webapps/horde/apache.conf
cp -f /etc/horde.org/apache-horde.conf.rpmsave /etc/webapps/horde/httpd.conf
rm -f /etc/horde.org/apache-horde.conf.rpmsave
fi
if [ -L /etc/apache/conf.d/99_horde.conf ]; then
/usr/sbin/webapp register apache horde
rm -f /etc/apache/conf.d/99_horde.conf
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/apache ] && . /etc/sysconfig/apache
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/apache ]; then
/sbin/service apache reload 1>&2 || :;
fi
fi };fi
if [ -L /etc/httpd/httpd.conf/99_horde.conf ]; then
/usr/sbin/webapp register httpd horde
rm -f /etc/httpd/httpd.conf/99_horde.conf
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/httpd ] && . /etc/sysconfig/httpd
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/httpd ]; then
/sbin/service httpd reload 1>&2 || :;
fi
fi };fi