-
Notifications
You must be signed in to change notification settings - Fork 0
/
opera-10.61.diff
18 lines (18 loc) · 993 Bytes
/
opera-10.61.diff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff -N -r -U 3 opera-10.61-6430.i386.linux-orig/opera opera-10.61-6430.i386.linux/opera
--- opera-10.61-6430.i386.linux-orig/opera 2010-08-09 15:09:08.000000000 +0300
+++ opera-10.61-6430.i386.linux/opera 2010-08-30 20:46:17.000000000 +0300
@@ -1,4 +1,4 @@
#!/bin/sh
-export OPERA_DIR=${OPERA_DIR:-"${0%/*}"/share/opera}
-export OPERA_PERSONALDIR=${OPERA_PERSONALDIR:-"${0%/*}"/profile}
-exec "${0%/*}"/lib/opera/opera "$@"
+export OPERA_DIR=${OPERA_DIR:-"/usr/share/opera"}
+export OPERA_PERSONALDIR=${OPERA_PERSONALDIR:-/home/`whoami`/.opera}
+exec /usr/lib/opera/opera "$@"
diff -N -r -U 3 opera-10.61-6430.i386.linux-orig/opera-widget-manager opera-10.61-6430.i386.linux/opera-widget-manager
--- opera-10.61-6430.i386.linux-orig/opera-widget-manager 2010-08-09 15:09:08.000000000 +0300
+++ opera-10.61-6430.i386.linux/opera-widget-manager 2010-08-30 20:46:04.000000000 +0300
@@ -1,2 +1,2 @@
#!/bin/sh
-exec "${0%/*}"/opera --widgetmanager "$@"
+exec /usr/bin/opera --widgetmanager "$@"