Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: gentoo-dev@l.g.o
Cc: pr@g.o
Subject: Re: [gentoo-dev] newsitem: OpenRC runscript transition (draft 2)
Date: Mon, 22 Aug 2016 19:54:09
Message-Id: 22459.22604.492563.512013@a1i15.kph.uni-mainz.de
In Reply to: [gentoo-dev] newsitem: OpenRC runscript transition (draft 2) by William Hubbs
1 >>>>> On Mon, 22 Aug 2016, William Hubbs wrote:
2
3 > Display-If-Installed: <sys-apps/openrc-0.22
4
5 Why the condition on the version number?
6
7 > # emerge --oneshot -av $(grep -l "#!/sbin/runscript" /etc/init.d/*)
8
9 Hm, I think you'll want single quotes there, otherwise the exclamation
10 mark could trigger bash history expansion. Alternatively, grep for
11 /sbin/runscript without the shebang (with the additional advantage
12 that it would also catch cases with whitespace after the #!).
13
14 Ulrich

Replies

Subject Author
Re: [gentoo-dev] newsitem: OpenRC runscript transition (draft 2) William Hubbs <williamh@g.o>