aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteffen Christgau <mail@s14u.de>2021-12-01 23:05:02 +0100
committerSteffen Christgau <mail@s14u.de>2021-12-01 23:05:02 +0100
commit1375fadc3552c74aa34555938c834de1406103fc (patch)
tree5d47f99587d220f835732f6dd445d828b8a93bc8 /net-misc/wsdd
parentdev-python/scrapy: unpin dep on pydispatcher (diff)
downloadguru-1375fadc3552c74aa34555938c834de1406103fc.tar.gz
guru-1375fadc3552c74aa34555938c834de1406103fc.tar.bz2
guru-1375fadc3552c74aa34555938c834de1406103fc.zip
net-misc/wsdd: add 'die' call to commands
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Steffen Christgau <mail@s14u.de>
Diffstat (limited to 'net-misc/wsdd')
-rw-r--r--net-misc/wsdd/wsdd-0.6.4.ebuild6
-rw-r--r--net-misc/wsdd/wsdd-0.7.0.ebuild6
2 files changed, 6 insertions, 6 deletions
diff --git a/net-misc/wsdd/wsdd-0.6.4.ebuild b/net-misc/wsdd/wsdd-0.6.4.ebuild
index 392a525e1..c981d6731 100644
--- a/net-misc/wsdd/wsdd-0.6.4.ebuild
+++ b/net-misc/wsdd/wsdd-0.6.4.ebuild
@@ -27,10 +27,10 @@ src_install() {
# remove dependency on samba from init.d script if samba is not in use flags
if ! use samba ; then
- sed -i -e '/need samba/d' etc/openrc/init.d/wsdd
+ sed -i -e '/need samba/d' etc/openrc/init.d/wsdd || die
fi
- sed -i -e "s/daemon:daemon/${PN}:${PN}/" etc/openrc/init.d/wsdd
+ sed -i -e "s/daemon:daemon/${PN}:${PN}/" etc/openrc/init.d/wsdd || die
doinitd etc/openrc/init.d/wsdd
doconfd etc/openrc/conf.d/wsdd
@@ -38,7 +38,7 @@ src_install() {
# install systemd unit file with wsdd user and dependency on samba service if use flag is set
sed -i -e "s/=nobody/=${PN}/" etc/systemd/wsdd.service
if use samba; then
- sed -i -e 's/;Wants=smb.service/Wants=samba.service/' etc/systemd/wsdd.service
+ sed -i -e 's/;Wants=smb.service/Wants=samba.service/' etc/systemd/wsdd.service || die
fi
systemd_dounit etc/systemd/wsdd.service
diff --git a/net-misc/wsdd/wsdd-0.7.0.ebuild b/net-misc/wsdd/wsdd-0.7.0.ebuild
index 592da1725..d5b66f233 100644
--- a/net-misc/wsdd/wsdd-0.7.0.ebuild
+++ b/net-misc/wsdd/wsdd-0.7.0.ebuild
@@ -27,17 +27,17 @@ src_install() {
# remove dependency on samba from init.d script if samba is not in use flags
if ! use samba ; then
- sed -i -e '/need samba/d' etc/openrc/init.d/wsdd
+ sed -i -e '/need samba/d' etc/openrc/init.d/wsdd || die
fi
- sed -i -e "s/daemon:daemon/${PN}:${PN}/" etc/openrc/init.d/wsdd
+ sed -i -e "s/daemon:daemon/${PN}:${PN}/" etc/openrc/init.d/wsdd || die
doinitd etc/openrc/init.d/wsdd
doconfd etc/openrc/conf.d/wsdd
# install systemd unit file with dependency on samba service if use flag is set
if use samba; then
- sed -i -e 's/;Wants=smb.service/Wants=samba.service/' etc/systemd/wsdd.service
+ sed -i -e 's/;Wants=smb.service/Wants=samba.service/' etc/systemd/wsdd.service || die
fi
systemd_dounit etc/systemd/wsdd.service