1
0
forked from pool/roundcubemail
Lars Vogdt 2020-01-02 20:12:01 +00:00 committed by Git OBS Bridge
parent 9059f6e3b0
commit 6fe4d9dd07

View File

@ -245,7 +245,7 @@ sed -i "s/rcmail-\!24ByteDESkey\*Str/`makedesstr`/" %{roundcubeconfigpath}/defau
# Update ? # Update ?
if [ ${1:-0} -eq 1 ]; then if [ ${1:-0} -eq 1 ]; then
if [ -x %{_sbindir}/a2enmod ]; then if [ -x %{_sbindir}/a2enmod ]; then
# enable apache required apache modules # enable required apache modules
%if 0%{?suse_version} > 01500 %if 0%{?suse_version} > 01500
if ! grep -q php %{_sysconfdir}/sysconfig/apache2 1>&2 2>/dev/null; then if ! grep -q php %{_sysconfdir}/sysconfig/apache2 1>&2 2>/dev/null; then
%{_sbindir}/a2enmod -q php7 || %{_sbindir}/a2enmod php7 %{_sbindir}/a2enmod -q php7 || %{_sbindir}/a2enmod php7