diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2008-02-09 16:55:10 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2008-02-09 16:55:10 +0000 |
commit | ba9057b8a2691e687e06d8e1606f3c59964c0fb9 (patch) | |
tree | 637ae9d73ecc7a4865f09c88ec930e38bd29cede | |
parent | Add version with unicode handling support. (diff) | |
download | betelgeuse-ba9057b8a2691e687e06d8e1606f3c59964c0fb9.tar.gz betelgeuse-ba9057b8a2691e687e06d8e1606f3c59964c0fb9.tar.bz2 betelgeuse-ba9057b8a2691e687e06d8e1606f3c59964c0fb9.zip |
Accept yes besides YES.
svn path=/; revision=157
-rw-r--r-- | net-irc/irssi-init/ChangeLog | 3 | ||||
-rw-r--r-- | net-irc/irssi-init/Manifest | 4 | ||||
-rwxr-xr-x | net-irc/irssi-init/files/0.2/init.d | 5 |
3 files changed, 8 insertions, 4 deletions
diff --git a/net-irc/irssi-init/ChangeLog b/net-irc/irssi-init/ChangeLog index 52347f3..709563f 100644 --- a/net-irc/irssi-init/ChangeLog +++ b/net-irc/irssi-init/ChangeLog @@ -2,6 +2,9 @@ # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 09 Feb 2008; Petteri Räty <betelgeuse@gentoo.org> files/0.2/init.d: + Accept yes besides YES. + 09 Feb 2008; Petteri Räty <betelgeuse@gentoo.org> ++, ++, ++, ++: Add version with unicode handling support. diff --git a/net-irc/irssi-init/Manifest b/net-irc/irssi-init/Manifest index 2b0cd48..715e567 100644 --- a/net-irc/irssi-init/Manifest +++ b/net-irc/irssi-init/Manifest @@ -1,7 +1,7 @@ AUX 0.1/conf.d 91 RMD160 962c0d8bbff177ef08fc4fd49314d21479000344 SHA1 5db8d5c52be3dabd794b42247f78b7c022409262 SHA256 a4f58fd066dc8951e653ca49ba57e4cf440a8c0e804ab75781c1adccfbae1664 AUX 0.1/init.d 238 RMD160 72410f83fd5cc6c7982589646dbecb59d97106dd SHA1 e393dd65da0b21ef142a58d5a932bcb6f4787412 SHA256 a7832990e9059251c3409b34a3c9bd5372e82fbee6c59f78e1f53a789ce4e0d5 AUX 0.2/conf.d 158 RMD160 d0819b833e9af8e82197ebd83a6367354198f4f5 SHA1 d0f029a894f263a68f80d0ff96c5725bd09ca3ba SHA256 26388fe5da4cbe2b642ee4af3f16fe604cff38d7920f5e2f13219e1a2f664ff4 -AUX 0.2/init.d 306 RMD160 a805e9731b656a5448fbb9447fe3d02b447071f2 SHA1 7283289f7f62356ee990752932a977f8c2df73b8 SHA256 b93d442cfc776c9ca98169bb7c448bd1b27f194def7cf32d9558599d2b888e43 +AUX 0.2/init.d 347 RMD160 e2a5d97506219d86bfacfef31457ff6fb9a5ef6d SHA1 fa76c04dad35da604ccfde13002c25eaf06027aa SHA256 9fa7654b1d84e7103b972ec3c5176a5ad0dc0da689f16a658e27c090db144b2b EBUILD irssi-init-0.1.ebuild 384 RMD160 30444363353927d1ddb9cb6309bad6adea881c9d SHA1 78eb213b821b6752a452b0d0e6209636b4d1b748 SHA256 26c1b5300ac99e92e876ea688f02c3c8841225fc0d05d5b1a5640fba82039df0 EBUILD irssi-init-0.2.ebuild 384 RMD160 30444363353927d1ddb9cb6309bad6adea881c9d SHA1 78eb213b821b6752a452b0d0e6209636b4d1b748 SHA256 26c1b5300ac99e92e876ea688f02c3c8841225fc0d05d5b1a5640fba82039df0 -MISC ChangeLog 234 RMD160 66066ad8c6c828743cfae21df4d095e4975984d3 SHA1 779ec8dbaaf514a0e240113775c6516f24e65779 SHA256 cb94dff11ddb5ef9ba980a22283b88c1cbf93b76edda60ef81e37dd6d52f914c +MISC ChangeLog 332 RMD160 4c48d80ff85cb0f8f6dbfbc1b13cf567aceb1656 SHA1 aa6cf0c7bdea119402883efcff7b8f96ab1f3074 SHA256 c4c23c3a358d59415fba85f0e3013a06e09879c87528d7ec2ca43f980f178b65 diff --git a/net-irc/irssi-init/files/0.2/init.d b/net-irc/irssi-init/files/0.2/init.d index 96742bf..857d29d 100755 --- a/net-irc/irssi-init/files/0.2/init.d +++ b/net-irc/irssi-init/files/0.2/init.d @@ -6,10 +6,11 @@ depend() { start() { local uni - [ "${unicode:-${UNICODE}}" = YES ] && uni=U + local value = "${unicode:-${UNICODE}}" + [ "${value}" = YES || "${value}" = yes ] && uni=U for user in ${IRSSI_USERS}; do ebegin "Starting irssi session for ${user}" - einfo /bin/su - ${user} -c "screen -${uni}dmS irssi -- irssi" + /bin/su - ${user} -c "screen -${uni}dmS irssi -- irssi" eend $? "Failed to start irssi for ${user}" done } |