]> git.pld-linux.org Git - packages/opera.git/commitdiff
improve personaldir check
authorElan Ruusamäe <glen@delfi.ee>
Fri, 24 May 2013 18:01:27 +0000 (21:01 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Fri, 24 May 2013 18:01:27 +0000 (21:01 +0300)
regardless of OPERA_PERSONALDIR env or -pd parameter,
OperaAutoupdateChecker.sqlite is still created in ~/.opera.

so check of operaprefs.ini file instead.

opera.sh
opera.spec

index f967d14e596c89a8d3f891ed4ae2ec3dc9a521f3..3995959882c7e1a1acc86a3e3941b915687f5a59 100755 (executable)
--- a/opera.sh
+++ b/opera.sh
@@ -10,7 +10,7 @@ export OPERA_DIR=/usr/share/opera
 export OPERA_PERSONALDIR="$HOME/.opera"
 
 # XDG path
-if [ ! -d "$OPERA_PERSONALDIR" ]; then
+if [ ! -d "$OPERA_PERSONALDIR/operaprefs.ini" ]; then
        OPERA_PERSONALDIR="${XDG_CONFIG_HOME:-$HOME/.config}/opera"
 fi
 
index 423b9838a1ca183fc41e3d56cbaf0e0aa9558e67..33c0c71d7d2b794eefc0f857aed68b8026ac6194 100644 (file)
@@ -18,7 +18,7 @@ Summary(hu.UTF-8):    A világ leggyorsabb webböngészője
 Summary(pl.UTF-8):     Najszybsza przeglądarka WWW na świecie
 Name:          opera
 Version:       %{ver}
-Release:       4
+Release:       5
 Epoch:         2
 License:       Distributable
 Group:         X11/Applications/Networking
This page took 0.194544 seconds and 4 git commands to generate.