Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-release > by-pkgid > f0e5441f29b7217caa387c70ef0a7574 > scriptlet

roundcubemail-plugin-kolab_zpush-3.3.0-0.git20151218.3.mga7.noarch.rpm

PREIN

/bin/sh
if [ -f "/var/lib/rpm-state/roundcubemail/httpd.restarted" ]; then
    /usr/bin/rm -f "/var/lib/rpm-state/roundcubemail/httpd.restarted"
fi

POSTTRANS

/bin/sh
if [ ! -f "/var/lib/rpm-state/roundcubemail/httpd.restarted" ]; then
    if [ -f "%{php_inidir}/apc.ini" ]; then
        if [ ! -z "$(grep ^apc.enabled=1 %{php_inidir}/apc.ini)" ]; then
            /bin/systemctl condrestart httpd.service
        fi
    fi
    /usr/bin/mkdir -p /var/lib/rpm-state/roundcubemail/
    touch /var/lib/rpm-state/roundcubemail/httpd.restarted
fi