blob: dbf0a9cc60a14469a702a464b189dae3d98282fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
OUTFIL=/tmp/NE1_suite_scriptvars_QMX
QMXSPATH=$0
echo "QMXSPATH=$QMXSPATH" > $OUTFIL
QMXPPATH=$1
echo "QMXPPATH=$QMXPPATH" >> $OUTFIL
QMXTARGETLOC=$2
echo "QMXTARGETLOC=$QMXTARGETLOC" >> $OUTFIL
QMXTARGETVOL=$3
echo "QMXTARGETVOL=$QMXTARGETVOL" >> $OUTFIL
#env | grep -v "^_" >> $OUTFIL
PMTARGETLOC=`grep PMTARGETLOC /tmp/NE1_suite_scriptvars_pm| cut -c 13-`
su $USER -c "\"$PMTARGETLOC\"/pref_modifier.app/Contents/MacOS/pref_modifier -K qutemol_enabled -V True >> /dev/null"
su $USER -c "\"$PMTARGETLOC\"/pref_modifier.app/Contents/MacOS/pref_modifier -K qutemol_path -V \"$QMXTARGETLOC/QuteMolX.app\" >> /dev/null"
rm /tmp/NE1_suite_scriptvars*
|