------------------------------------------------------------
revno: 1570
committer: Rene Engelhard <[email protected]>
branch nick: debian
timestamp: Sat 2009-05-23 14:07:55 +0200
message:
  use /@OOBASISDIR
modified:
  openoffice.org-common.preinst.in
=== modified file 'openoffice.org-common.preinst.in'
--- a/openoffice.org-common.preinst.in  2009-05-23 11:45:07 +0000
+++ b/openoffice.org-common.preinst.in  2009-05-23 12:07:55 +0000
@@ -20,9 +20,9 @@
        fi
        # obsolete. no conffile.
        rm -f /etc/openoffice/dictionary.lst /etc/openoffice/dictionary.lst-old
-       if [ ! -e `echo $OOBASISDIR | sed -e 
s/usr/var/`/share/config/javasettingsunopkginstall.xml ]; then
-               if [ ! -d `echo $OOBASISDIR | sed -e s/usr/var/`/share/config 
]; then
-                       mkdir -p `echo $OOBASISDIR | sed -e 
s/usr/var/`/share/config
+       if [ ! -e `echo /@OOBASISDIR@ | sed -e 
s/usr/var/`/share/config/javasettingsunopkginstall.xml ]; then
+               if [ ! -d `echo /@OOBASISDIR@ | sed -e s/usr/var/`/share/config 
]; then
+                       mkdir -p `echo /@OOBASISDIR@ | sed -e 
s/usr/var/`/share/config
                fi
                if [ -e /var/lib/openoffice/javasettingsunopkginstall.xml ]; 
then
                        mv /var/lib/openoffice/javasettingsunopkginstall.xml \
@@ -30,7 +30,7 @@
                fi
                if [ -e 
/var/lib/openoffice/share/config/javasettingsunopkginstall.xml ]; then
                        mv 
/var/lib/openoffice/share/config/javasettingsunopkginstall.xml \
-                                `echo $OOBASISDIR | sed -e 
s/usr/var/`/share/config/javasettingsunopkginstall.xml
+                                `echo /@OOBASISDIR@ | sed -e 
s/usr/var/`/share/config/javasettingsunopkginstall.xml
                fi
        else
                rm -f /var/lib/openoffice/javasettingsunopkginstall.xml

Reply via email to