public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in www-client/conkeror/files: conkeror.sh
@ 2011-12-10 19:09 Ulrich Mueller (ulm)
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Mueller (ulm) @ 2011-12-10 19:09 UTC (permalink / raw
  To: gentoo-commits

ulm         11/12/10 19:09:40

  Added:                conkeror.sh
  Log:
  Change install location from /usr/lib to /usr/share. Use our own wrapper script instead of the contributed one.
  
  (Portage version: 2.1.10.39/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  www-client/conkeror/files/conkeror.sh

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/conkeror/files/conkeror.sh?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/conkeror/files/conkeror.sh?rev=1.1&content-type=text/plain

Index: conkeror.sh
===================================================================
#!/bin/bash
# Wrapper script for conkeror

for cmd in xulrunner-2.0 xulrunner-1.9.2 firefox; do
    xr=$(type -p ${cmd})
    if [[ -n ${xr} ]]; then
	[[ ${cmd} = firefox ]] && xr="${xr} -app"
	exec ${xr} /usr/share/conkeror/application.ini "$@"
    fi
done

echo "$0: xulrunner or firefox required, but not found." >&2
exit 1






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

* [gentoo-commits] gentoo-x86 commit in www-client/conkeror/files: conkeror.sh
@ 2012-04-19  5:37 Ulrich Mueller (ulm)
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Mueller (ulm) @ 2012-04-19  5:37 UTC (permalink / raw
  To: gentoo-commits

ulm         12/04/19 05:37:13

  Modified:             conkeror.sh
  Log:
  Remove old. Don't look for xulrunner in wrapper script.
  
  (Portage version: 2.1.10.56/cvs/Linux x86_64)

Revision  Changes    Path
1.2                  www-client/conkeror/files/conkeror.sh

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/conkeror/files/conkeror.sh?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/conkeror/files/conkeror.sh?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/conkeror/files/conkeror.sh?r1=1.1&r2=1.2

Index: conkeror.sh
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-client/conkeror/files/conkeror.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- conkeror.sh	10 Dec 2011 19:09:40 -0000	1.1
+++ conkeror.sh	19 Apr 2012 05:37:13 -0000	1.2
@@ -1,13 +1,7 @@
 #!/bin/bash
 # Wrapper script for conkeror
 
-for cmd in xulrunner-2.0 xulrunner-1.9.2 firefox; do
-    xr=$(type -p ${cmd})
-    if [[ -n ${xr} ]]; then
-	[[ ${cmd} = firefox ]] && xr="${xr} -app"
-	exec ${xr} /usr/share/conkeror/application.ini "$@"
-    fi
-done
-
-echo "$0: xulrunner or firefox required, but not found." >&2
+xr=$(type -p firefox)
+[[ -n ${xr} ]] && exec "${xr}" -app /usr/share/conkeror/application.ini "$@"
+echo "$0: firefox required, but not found." >&2
 exit 1






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

end of thread, other threads:[~2012-04-19  5:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-19  5:37 [gentoo-commits] gentoo-x86 commit in www-client/conkeror/files: conkeror.sh Ulrich Mueller (ulm)
  -- strict thread matches above, loose matches on Subject: below --
2011-12-10 19:09 Ulrich Mueller (ulm)

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