Commit 023cfb1d authored by Xavier Bachelot's avatar Xavier Bachelot

Fix %preun to not erroneously wipe httpd conf files

parent 5abb193c
Pipeline #4175 failed with stages
in 10 minutes and 8 seconds
...@@ -529,7 +529,8 @@ fi ...@@ -529,7 +529,8 @@ fi
# Upgrade from previous version # Upgrade from previous version
if [ $1 -eq 1 ] ; then if [ $1 -eq 1 ] ; then
# Remove old symlinks in Apache configuration # Remove old symlinks in Apache configuration
rm -f %{apache_confdir}/z-lemonldap-ng*.conf 2>&1 > /dev/null || : find %{apache_confdir} -name 'z-lemonldap-ng*.conf' \
-type l -delete 2>&1 > /dev/null || :
fi fi
%post fastcgi-server %post fastcgi-server
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment