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
|
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
|
%if 0%{?suse_version} >= 1210
|
||||||
%service_del_preun apache2.target
|
%service_del_preun apache2.target
|
||||||
%endif
|
%endif
|
||||||
for i in %{_sbindir}/httpd \
|
# removing the symlink in case of uninstall (not upgrade) [bsc#1041830]
|
||||||
%{installbuilddir}/config_vars.mk
|
if [ $1 -eq 0 ]; then
|
||||||
do
|
for i in %{_sbindir}/httpd \
|
||||||
test -L $i && rm $i
|
%{installbuilddir}/config_vars.mk
|
||||||
done
|
do
|
||||||
|
test -L $i && rm $i
|
||||||
|
done
|
||||||
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
|
Loading…
x
Reference in New Issue
Block a user