summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-06-04 11:58:16 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2007-06-04 11:58:16 +0000
commitd2da32562bbb29e2f60b8c7f03b05382bddf1689 (patch)
treeddd57e4890a183d029b96426a591236b164b5172 /net-www
parentversion bump (diff)
downloadgentoo-2-d2da32562bbb29e2f60b8c7f03b05382bddf1689.tar.gz
gentoo-2-d2da32562bbb29e2f60b8c7f03b05382bddf1689.tar.bz2
gentoo-2-d2da32562bbb29e2f60b8c7f03b05382bddf1689.zip
Remove some bashisms.
(Portage version: 2.1.2.7)
Diffstat (limited to 'net-www')
-rw-r--r--net-www/vdradmin-am/ChangeLog5
-rw-r--r--net-www/vdradmin-am/files/vdradmin-26
2 files changed, 7 insertions, 4 deletions
diff --git a/net-www/vdradmin-am/ChangeLog b/net-www/vdradmin-am/ChangeLog
index 141d1357344a..8c07b9da96be 100644
--- a/net-www/vdradmin-am/ChangeLog
+++ b/net-www/vdradmin-am/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-www/vdradmin-am
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/vdradmin-am/ChangeLog,v 1.17 2007/03/13 11:57:27 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/vdradmin-am/ChangeLog,v 1.18 2007/06/04 11:58:16 zzam Exp $
+
+ 04 Jun 2007; Matthias Schwarzott <zzam@gentoo.org> files/vdradmin-2:
+ Remove some bashisms.
13 Mar 2007; Matthias Schwarzott <zzam@gentoo.org> -files/vdradmin,
-vdradmin-am-3.4.6.ebuild, -vdradmin-am-3.4.7.ebuild,
diff --git a/net-www/vdradmin-am/files/vdradmin-2 b/net-www/vdradmin-am/files/vdradmin-2
index 91a445a33580..ddd06ea484ca 100644
--- a/net-www/vdradmin-am/files/vdradmin-2
+++ b/net-www/vdradmin-am/files/vdradmin-2
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-www/vdradmin-am/files/vdradmin-2,v 1.2 2006/12/07 16:10:08 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/vdradmin-am/files/vdradmin-2,v 1.3 2007/06/04 11:58:16 zzam Exp $
depend() {
need vdr
@@ -9,8 +9,8 @@ depend() {
set_charset() {
local capfile=/usr/share/vdr/capabilities.sh
- [[ -e ${capfile} ]] && source ${capfile}
- if [[ "${CAP_UTF8}" == "1" || "${VDR_CAN_HANDLE_UTF8}" == "yes" ]]; then
+ [ -e "${capfile}" ] && . ${capfile}
+ if [ "${CAP_UTF8}" = "1" -o "${VDR_CAN_HANDLE_UTF8}" = "yes" ]; then
# do not clean out utf8
:
else