summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2014-02-14 21:06:32 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2014-02-14 21:06:32 +0000
commit4ac3f3f0b87da72d4a7c17bf8cc4398ede1552c0 (patch)
tree91ba6eb891d357a397f6b957aa53ac42266d0838 /media-video
parentRemove bashisms (diff)
downloadgentoo-2-4ac3f3f0b87da72d4a7c17bf8cc4398ede1552c0.tar.gz
gentoo-2-4ac3f3f0b87da72d4a7c17bf8cc4398ede1552c0.tar.bz2
gentoo-2-4ac3f3f0b87da72d4a7c17bf8cc4398ede1552c0.zip
Remove bashisms
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!)
Diffstat (limited to 'media-video')
-rw-r--r--media-video/ushare/ChangeLog7
-rw-r--r--media-video/ushare/files/ushare.init.d.ng8
2 files changed, 9 insertions, 6 deletions
diff --git a/media-video/ushare/ChangeLog b/media-video/ushare/ChangeLog
index ad7aa8c9150d..719fe1b4bdb4 100644
--- a/media-video/ushare/ChangeLog
+++ b/media-video/ushare/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-video/ushare
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/ushare/ChangeLog,v 1.27 2013/09/30 17:14:42 ago Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/ushare/ChangeLog,v 1.28 2014/02/14 21:06:32 hwoarang Exp $
+
+ 14 Feb 2014; Markos Chandras <hwoarang@gentoo.org> files/ushare.init.d.ng:
+ Remove bashisms
30 Sep 2013; Agostino Sarubbo <ago@gentoo.org> ushare-1.1a-r6.ebuild:
Stable for x86, wrt bug #484910
diff --git a/media-video/ushare/files/ushare.init.d.ng b/media-video/ushare/files/ushare.init.d.ng
index 7f9920ab1b38..c0ba00d08d06 100644
--- a/media-video/ushare/files/ushare.init.d.ng
+++ b/media-video/ushare/files/ushare.init.d.ng
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/ushare/files/ushare.init.d.ng,v 1.1 2013/08/18 16:41:08 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/ushare/files/ushare.init.d.ng,v 1.2 2014/02/14 21:06:31 hwoarang Exp $
depend() {
use net
@@ -10,14 +10,14 @@ depend() {
start() {
ebegin "Starting uShare"
- if [[ ! -f /etc/ushare.conf && -f /etc/conf.d/ushare ]]; then
+ if [ ! -f /etc/ushare.conf -a -f /etc/conf.d/ushare ]; then
ewarn "Please migrate your settings from"
ewarn "/etc/conf.d/ushare to the new /etc/ushare.conf file"
ewarn "and then delete the /etc/conf.d/ushare file."
eerror "User migration steps are needed!"
fi
- if [[ -f /etc/ushare.conf && -f /etc/conf.d/ushare ]]; then
+ if [ -f /etc/ushare.conf -a -f /etc/conf.d/ushare ]; then
ewarn "Old configuration file /etc/conf.d/ushare detected!"
ewarn "Please migrate your settings to the new /etc/ushare.conf file"
ewarn "and then delete the old one."