Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Oct 2008 03:26:38 GMT
From:      KOIE Hidetaka <hide@koie.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/128080: operapluginwrapper has a syntax error.
Message-ID:  <200810140326.m9E3QcrL019040@www.freebsd.org>
Resent-Message-ID: <200810140330.m9E3U2lI013021@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         128080
>Category:       ports
>Synopsis:       operapluginwrapper has a syntax error.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 14 03:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     KOIE Hidetaka
>Release:        8.0-CURRENT
>Organization:
surigiken
>Environment:
FreeBSD guriandgura 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sun Oct  5 17:52:01 JST 2008     koie@guriandgura:/usr/obj/usr/src/sys/GURIANDGURA  amd64
>Description:
I installed opera-9.60.20081004.
When start opera, an error dialog pops up.
It seems a bug in the script operapluginwrapper.

BTW, if linux-opera is installed,
ln -s /usr/local/share/linux-opera/bin/operapluginwrapper /usr/local/share/opera/bin/operapluginwrapper.linux.


>How-To-Repeat:

>Fix:
koie@guriandgura% diff -u /usr/local/share/opera/bin/operapluginwrapper{.orig,}
--- /usr/local/share/opera/bin/operapluginwrapper.orig  2008-10-14 11:52:00.261409096 +0900
+++ /usr/local/share/opera/bin/operapluginwrapper       2008-10-14 11:54:44.635606439 +0900
@@ -1,6 +1,6 @@
 #!/bin/sh

-if [ brandelf $3 | grep "FreeBSD" ]; then
+if brandelf $3 | grep "FreeBSD"; then
        exec $0.freebsd $@
 else
        exec $0.linux $@



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810140326.m9E3QcrL019040>