public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-video/ushare/files: ushare.init.d.ng
@ 2014-02-14 21:06 Markos Chandras (hwoarang)
  0 siblings, 0 replies; 2+ messages in thread
From: Markos Chandras (hwoarang) @ 2014-02-14 21:06 UTC (permalink / raw
  To: gentoo-commits

hwoarang    14/02/14 21:06:32

  Modified:             ushare.init.d.ng
  Log:
  Remove bashisms
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!)

Revision  Changes    Path
1.2                  media-video/ushare/files/ushare.init.d.ng

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/ushare/files/ushare.init.d.ng?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/ushare/files/ushare.init.d.ng?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/ushare/files/ushare.init.d.ng?r1=1.1&r2=1.2

Index: ushare.init.d.ng
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-video/ushare/files/ushare.init.d.ng,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ushare.init.d.ng	18 Aug 2013 16:41:08 -0000	1.1
+++ ushare.init.d.ng	14 Feb 2014 21:06:31 -0000	1.2
@@ -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 @@
 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."





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in media-video/ushare/files: ushare.init.d.ng
@ 2014-02-14 21:07 Markos Chandras (hwoarang)
  0 siblings, 0 replies; 2+ messages in thread
From: Markos Chandras (hwoarang) @ 2014-02-14 21:07 UTC (permalink / raw
  To: gentoo-commits

hwoarang    14/02/14 21:07:28

  Modified:             ushare.init.d.ng
  Log:
  Fix typo
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!)

Revision  Changes    Path
1.3                  media-video/ushare/files/ushare.init.d.ng

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/ushare/files/ushare.init.d.ng?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/ushare/files/ushare.init.d.ng?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/ushare/files/ushare.init.d.ng?r1=1.2&r2=1.3

Index: ushare.init.d.ng
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-video/ushare/files/ushare.init.d.ng,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ushare.init.d.ng	14 Feb 2014 21:06:31 -0000	1.2
+++ ushare.init.d.ng	14 Feb 2014 21:07:28 -0000	1.3
@@ -1,7 +1,7 @@
 #!/sbin/runscript
 # 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.2 2014/02/14 21:06:31 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/ushare/files/ushare.init.d.ng,v 1.3 2014/02/14 21:07:28 hwoarang Exp $
 
 depend() {
 	use net
@@ -21,7 +21,7 @@
 		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."
-		eerror "Use migration steps are needed!"
+		eerror "User migration steps are needed!"
 	fi
 
 	start-stop-daemon --start --quiet -u ushare \





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-14 21:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-14 21:06 [gentoo-commits] gentoo-x86 commit in media-video/ushare/files: ushare.init.d.ng Markos Chandras (hwoarang)
  -- strict thread matches above, loose matches on Subject: below --
2014-02-14 21:07 Markos Chandras (hwoarang)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox