fix post error: No such file or directory
This commit is contained in:
parent
c788894513
commit
b9a3869b92
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
Name: ebtables
|
Name: ebtables
|
||||||
Version: 2.0.11
|
Version: 2.0.11
|
||||||
Release: 8
|
Release: 9
|
||||||
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/
|
||||||
@ -68,6 +68,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
|
||||||
@ -110,6 +113,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-9
|
||||||
|
- 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-8
|
* Fri Jun 30 2023 xinghe <xinghe2@h-partners.com> - 2.0.11-8
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- CVE:NA
|
- CVE:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user