add uninstall guard to %postun u-a
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/ebtables?expand=0&rev=52
This commit is contained in:
parent
a5722ab5b9
commit
d34af398ca
@ -135,7 +135,9 @@ update-alternatives --force \
|
||||
%service_del_preun %{name}.service
|
||||
|
||||
%postun
|
||||
if test "$1" = 0; then
|
||||
update-alternatives --remove ebtables "%{_sbindir}/ebtables-legacy"
|
||||
fi
|
||||
%service_del_postun %{name}.service
|
||||
|
||||
%files
|
||||
|
Loading…
x
Reference in New Issue
Block a user