mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
Fix wrapper script to pass command line arguments to xmind
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=563562
This commit is contained in:
@@ -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
|
||||
/opt/xmind/XMind/XMind "$@"
|
||||
+1
-1
@@ -64,7 +64,7 @@ src_install() {
|
||||
fperms a+rx "/opt/xmind/XMind/XMind"
|
||||
|
||||
exeinto /opt/bin
|
||||
newexe "${FILESDIR}/xmind-wrapper" xmind
|
||||
newexe "${FILESDIR}/xmind-wrapper-3.5.3" xmind
|
||||
|
||||
# install icons
|
||||
local res
|
||||
Reference in New Issue
Block a user