Fix %preun to not erroneously wipe httpd conf files
This commit is contained in:
parent
5abb193c9f
commit
023cfb1de6
|
@ -529,7 +529,8 @@ fi
|
|||
# Upgrade from previous version
|
||||
if [ $1 -eq 1 ] ; then
|
||||
# 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
|
||||
|
||||
%post fastcgi-server
|
||||
|
|
Loading…
Reference in New Issue
Block a user