forked from pool/apache2
- remove /usr/bin/http2 symlink only during apache2 package
uninstall, not upgrade [bsc#1041830] OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=515
This commit is contained in:
13
apache2.spec
13
apache2.spec
@@ -1374,11 +1374,14 @@ exit 0
|
||||
%if 0%{?suse_version} >= 1210
|
||||
%service_del_preun apache2.target
|
||||
%endif
|
||||
for i in %{_sbindir}/httpd \
|
||||
%{installbuilddir}/config_vars.mk
|
||||
do
|
||||
test -L $i && rm $i
|
||||
done
|
||||
# removing the symlink in case of uninstall (not upgrade) [bsc#1041830]
|
||||
if [ $1 -eq 0 ]; then
|
||||
for i in %{_sbindir}/httpd \
|
||||
%{installbuilddir}/config_vars.mk
|
||||
do
|
||||
test -L $i && rm $i
|
||||
done
|
||||
fi
|
||||
exit 0
|
||||
|
||||
%postun
|
||||
|
Reference in New Issue
Block a user