summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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