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:
parent
b82cb3ba67
commit
b3dd51283a
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 20 13:57:18 UTC 2017 - pgajdos@suse.com
|
||||
|
||||
- remove /usr/bin/http2 symlink only during apache2 package
|
||||
uninstall, not upgrade [bsc#1041830]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 19 08:15:40 UTC 2017 - pgajdos@suse.com
|
||||
|
||||
|
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user