From: "Steffen Christgau" <mail@s14u.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-misc/wsdd/
Date: Wed, 1 Dec 2021 22:05:14 +0000 (UTC) [thread overview]
Message-ID: <1638396302.1375fadc3552c74aa34555938c834de1406103fc.christgau@gentoo> (raw)
commit: 1375fadc3552c74aa34555938c834de1406103fc
Author: Steffen Christgau <mail <AT> s14u <DOT> de>
AuthorDate: Wed Dec 1 22:05:02 2021 +0000
Commit: Steffen Christgau <mail <AT> s14u <DOT> de>
CommitDate: Wed Dec 1 22:05:02 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1375fadc
net-misc/wsdd: add 'die' call to commands
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Steffen Christgau <mail <AT> s14u.de>
net-misc/wsdd/wsdd-0.6.4.ebuild | 6 +++---
net-misc/wsdd/wsdd-0.7.0.ebuild | 6 +++---
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
next reply other threads:[~2021-12-01 22:05 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-01 22:05 Steffen Christgau [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-04-05 8:21 [gentoo-commits] repo/proj/guru:dev commit in: net-misc/wsdd/ Steffen Christgau
2024-04-05 8:21 Steffen Christgau
2023-03-04 17:01 Steffen Christgau
2023-03-04 12:03 Steffen Christgau
2023-03-04 12:03 Steffen Christgau
2021-11-21 9:42 Steffen Christgau
2021-05-16 7:37 Steffen Christgau
2021-05-16 7:37 Steffen Christgau
2021-02-12 20:47 Steffen Christgau
2021-02-06 23:05 Steffen Christgau
2020-10-19 15:38 Steffen Christgau
2020-07-18 15:18 Steffen Christgau
2020-06-06 9:32 Steffen Christgau
2020-03-21 10:38 Steffen Christgau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1638396302.1375fadc3552c74aa34555938c834de1406103fc.christgau@gentoo \
--to=mail@s14u.de \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox