summaryrefslogtreecommitdiff
path: root/desktop/scripts
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-05-15 08:19:36 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-05-15 08:19:36 +0000
commit8f4043fa7385428e636b2325e3a5797f7c1333a0 (patch)
tree98194531e0b47888d234178cd17278973e58e5ac /desktop/scripts
parent727308673e8d0d3a18e0902aa570d376fd593bd2 (diff)
INTEGRATION: CWS oxtsysint01 (1.11.2); FILE MERGED
2008/04/25 05:08:04 obr 1.11.2.1: #i85856# desktop integration no longer uses unopkg gui
Diffstat (limited to 'desktop/scripts')
-rw-r--r--desktop/scripts/unopkg.sh8
1 files changed, 2 insertions, 6 deletions
diff --git a/desktop/scripts/unopkg.sh b/desktop/scripts/unopkg.sh
index e7bdf38f68..c9817003e0 100644
--- a/desktop/scripts/unopkg.sh
+++ b/desktop/scripts/unopkg.sh
@@ -9,7 +9,7 @@
#
# $RCSfile: unopkg.sh,v $
#
-# $Revision: 1.11 $
+# $Revision: 1.12 $
#
# This file is part of OpenOffice.org.
#
@@ -75,10 +75,6 @@ unset XENVIRONMENT
PATH=$sd_prog${PATH+:$PATH}
export PATH
-# assume gui mode if passed a single oxt file as argument
-GUI=""
-[ $# -eq 1 -a "oxt" = "`echo $1 | cut -d . -f 2`" -a -n "$DISPLAY" ] && GUI="gui"
-
# execute binary
-exec "$sd_prog/unopkg.bin" $GUI "$@" "-env:INIFILEPATH=$sd_prog/redirectrc"
+exec "$sd_prog/unopkg.bin" "$@" "-env:INIFILEPATH=$sd_prog/redirectrc"