summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Reffett <creffett@gentoo.org>2016-11-15 20:57:38 -0500
committerChris Reffett <creffett@gentoo.org>2016-11-15 20:58:18 -0500
commita361f05c0d4c7c11f046c99c4f3f91bd7c76cd1d (patch)
treec3166c2440f2afe3959211455802841ed2e7947a /app-misc/xmind/files
parentapp-portage/mirrorselect: Fix homepage link bug 597676 (diff)
downloadgentoo-a361f05c0d4c7c11f046c99c4f3f91bd7c76cd1d.tar.gz
gentoo-a361f05c0d4c7c11f046c99c4f3f91bd7c76cd1d.tar.bz2
gentoo-a361f05c0d4c7c11f046c99c4f3f91bd7c76cd1d.zip
app-misc/xmind: Version bump
Package-Manager: portage-2.3.2
Diffstat (limited to 'app-misc/xmind/files')
-rw-r--r--app-misc/xmind/files/xmind-wrapper-3.7.08
1 files changed, 8 insertions, 0 deletions
diff --git a/app-misc/xmind/files/xmind-wrapper-3.7.0 b/app-misc/xmind/files/xmind-wrapper-3.7.0
new file mode 100644
index 000000000000..41636ffd4c2b
--- /dev/null
+++ b/app-misc/xmind/files/xmind-wrapper-3.7.0
@@ -0,0 +1,8 @@
+#!/bin/bash
+#XMind wrapper script, copies configuration stuff into the user's local config dir if either
+#the files aren't there or are older than the set in /opt (indicating that XMind has been upgraded)
+if [ ! -f ~/.xmind/configuration-cathy/config.ini -o ~/.xmind/configuration-cathy/config.ini -ot /opt/xmind/XMind/configuration/config.ini ]; then
+ mkdir -p ~/.xmind/configuration-cathy
+ cp -r /opt/xmind/XMind/configuration/* ~/.xmind/configuration-cathy/
+fi
+SWT_GTK3=0 /opt/xmind/XMind/XMind "$@"