summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-02-28 22:35:36 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-02-28 23:20:56 +0100
commit0b22104cee07531d5788fd97139dfa30a469a684 (patch)
tree1f588ae0d8dcb3813921ba11288efdbdaa408307 /net-firewall
parentnet-firewall/firewalld: Depends on dev-python/PyQt5 not 4 (diff)
downloadgentoo-0b22104cee07531d5788fd97139dfa30a469a684.tar.gz
gentoo-0b22104cee07531d5788fd97139dfa30a469a684.tar.bz2
gentoo-0b22104cee07531d5788fd97139dfa30a469a684.zip
net-firewall/firewalld: Add missing || die
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'net-firewall')
-rw-r--r--net-firewall/firewalld/firewalld-0.5.1-r2.ebuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/net-firewall/firewalld/firewalld-0.5.1-r2.ebuild b/net-firewall/firewalld/firewalld-0.5.1-r2.ebuild
index d0345b01e7c8..63f66354740e 100644
--- a/net-firewall/firewalld/firewalld-0.5.1-r2.ebuild
+++ b/net-firewall/firewalld/firewalld-0.5.1-r2.ebuild
@@ -72,16 +72,16 @@ src_install() {
python_replicate_script "${D}/usr/sbin/firewalld"
# Get rid of junk
- rm -rf "${D}/etc/rc.d/"
- rm -rf "${D}/etc/sysconfig/"
+ rm -rf "${D}/etc/rc.d/" || die
+ rm -rf "${D}/etc/sysconfig/" || die
# For non-gui installs we need to remove GUI bits
if ! use gui; then
- rm -rf "${D}/etc/xdg/autostart"
- rm -f "${D}/usr/bin/firewall-applet"
- rm -f "${D}/usr/bin/firewall-config"
- rm -rf "${D}/usr/share/applications"
- rm -rf "${D}/usr/share/icons"
+ rm -rf "${D}/etc/xdg/autostart" || die
+ rm -f "${D}/usr/bin/firewall-applet" || die
+ rm -f "${D}/usr/bin/firewall-config" || die
+ rm -rf "${D}/usr/share/applications" || die
+ rm -rf "${D}/usr/share/icons" || die
fi
newinitd "${FILESDIR}"/firewalld.init firewalld