[libreoffice] 01/05: fix -core/-sdbc-firebird bug scripts; LO still uses /4 in the profile
This is an automated email from the git hooks/post-receive script.
rene pushed a commit to branch master
in repository libreoffice.
commit ca8cca0ac3744f0d16a3540667ef8036e51feabd
Author: Rene Engelhard <rene@debian.org>
Date: Thu Mar 31 19:37:40 2016 +0200
fix -core/-sdbc-firebird bug scripts; LO still uses /4 in the profile
---
changelog | 2 ++
libreoffice-core.bug-script.in | 6 ++++--
libreoffice-sdbc-firebird.bug-script.in | 6 ++++--
3 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/changelog b/changelog
index 1e4ba3f..1d4a612 100644
--- a/changelog
+++ b/changelog
@@ -11,6 +11,8 @@ libreoffice (1:5.1.2~rc2-1) UNRELEASED; urgency=medium
upgrades.
* debian/control[,.subsequentcheckbase}.in: remove hardcoded Java depends,
use ${java:Depends}
+ * debian/libreoffice-{core,sdbc-firebird}.bug-script.in: fix; LO still uses
+ /4 in the profile
-- Rene Engelhard <rene@debian.org> Tue, 29 Mar 2016 19:32:03 +0200
diff --git a/libreoffice-core.bug-script.in b/libreoffice-core.bug-script.in
index adc2ab7..74ee831 100755
--- a/libreoffice-core.bug-script.in
+++ b/libreoffice-core.bug-script.in
@@ -8,8 +8,10 @@
# experimental stuff enabled?
echo "" >&3
echo "Experimental features enabled:" >&3
-if [ -d "$HOME/.config/libreoffice/`echo @OOVER@ | cut -d. -f1`" ]; then
- grep ExperimentalMode $HOME/.config/libreoffice/`echo @OOVER@ | cut -d. -f1`/user/registrymodifications.xcu >&3
+#_lo_profile_ver=`echo @OOVER@ | cut -d. -f1`
+_lo_profile_ver=4
+if [ -d "$HOME/.config/libreoffice/$_lo_profile_ver" ]; then
+ grep ExperimentalMode $HOME/.config/libreoffice/$_lo_profile_ver/user/registrymodifications.xcu >&3
fi
# installed VCLplugs
diff --git a/libreoffice-sdbc-firebird.bug-script.in b/libreoffice-sdbc-firebird.bug-script.in
index c53b8fe..c7d7943 100644
--- a/libreoffice-sdbc-firebird.bug-script.in
+++ b/libreoffice-sdbc-firebird.bug-script.in
@@ -3,6 +3,8 @@
# experimental stuff enabled?
echo "" >&3
echo "Experimental features enabled:" >&3
-if [ -d "$HOME/.config/libreoffice/`echo @OOVER@ | cut -d. -f1`" ]; then
- grep ExperimentalMode $HOME/.config/libreoffice/`echo @OOVER@ | cut -d. -f1`/user/registrymodifications.xcu >&3
+#_lo_profile_ver=`echo @OOVER@ | cut -d. -f1`
+_lo_profile_ver=4
+if [ -d "$HOME/.config/libreoffice/$_lo_profile_ver" ]; then
+ grep ExperimentalMode $HOME/.config/libreoffice/$_lo_profile_ver/user/registrymodifications.xcu >&3
fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openoffice/libreoffice.git
Reply to: