openbsd-ports/www/opera/patches/patch-opera
2012-10-11 10:47:41 +00:00

12 lines
449 B
Plaintext

$OpenBSD: patch-opera,v 1.1 2012/10/11 10:47:41 ajacoutot Exp $
--- opera.orig Tue Aug 28 15:49:29 2012
+++ opera Thu Oct 11 12:35:55 2012
@@ -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=${TRUEPREFIX}/share/opera
+export OPERA_PERSONALDIR=${HOME}/.opera
+exec ${TRUEPREFIX}/lib/opera/opera "$@"