!48 [sync] PR-47: fix post error "No such file or directory"
From: @openeuler-sync-bot Reviewed-by: @gebidelidaye Signed-off-by: @gebidelidaye
This commit is contained in:
commit
6181011e5d
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
Name: ebtables
|
Name: ebtables
|
||||||
Version: 2.0.11
|
Version: 2.0.11
|
||||||
Release: 6
|
Release: 7
|
||||||
Summary: A filtering tool for a Linux-based bridging firewall
|
Summary: A filtering tool for a Linux-based bridging firewall
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://ebtables.sourceforge.net/
|
URL: http://ebtables.sourceforge.net/
|
||||||
@ -63,6 +63,9 @@ for sfx in "" "-restore" "-save"; do
|
|||||||
if [ "$(readlink -e $pfx$sfx)" == $pfx$sfx ]; then
|
if [ "$(readlink -e $pfx$sfx)" == $pfx$sfx ]; then
|
||||||
rm -f $pfx$sfx
|
rm -f $pfx$sfx
|
||||||
fi
|
fi
|
||||||
|
if [ -e /var/lib/alternatives/ebtables$sfx ]; then
|
||||||
|
rm -f /var/lib/alternatives/ebtables$sfx
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
if [ "$(readlink -e $manpfx.8.gz)" == $manpfx.8.gz ]; then
|
if [ "$(readlink -e $manpfx.8.gz)" == $manpfx.8.gz ]; then
|
||||||
rm -f $manpfx.8.gz
|
rm -f $manpfx.8.gz
|
||||||
@ -105,6 +108,12 @@ fi
|
|||||||
%doc %{_mandir}/man8/ebtables-legacy.8*
|
%doc %{_mandir}/man8/ebtables-legacy.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 07 2023 gaihuiying <eaglegai@163.com> - 2.0.11-7
|
||||||
|
- Type:bugfix
|
||||||
|
- CVE:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:fix post error "No such file or directory"
|
||||||
|
|
||||||
* Fri Jun 30 2023 xinghe <xinghe2@h-partners.com> - 2.0.11-6
|
* Fri Jun 30 2023 xinghe <xinghe2@h-partners.com> - 2.0.11-6
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user