]> git.donarmstrong.com Git - neurodebian.git/commitdiff
VM: adjusted for new VB exposing mounted host directories under /media
authorYaroslav Halchenko <debian@onerussian.com>
Sat, 5 Nov 2011 19:51:29 +0000 (15:51 -0400)
committerYaroslav Halchenko <debian@onerussian.com>
Sat, 5 Nov 2011 19:51:29 +0000 (15:51 -0400)
+ added hooks for cmtk and freesurfer .sh configs sourcing

tools/nd-vmsetupwizard

index 2882af860bf2c75e4b84399992b004d0f8dc3646..ed3c7a4b690e72717d0641e7994d1ccb76ced9dd 100755 (executable)
@@ -49,7 +49,7 @@ then
 
        if [ -e "$popconf" ] ; then
        # just reconfigure so user could get a chance to participate
-               sudo DEBIAN_FRONTEND=gnome dpkg-reconfigure popularity-contest  
+               sudo DEBIAN_FRONTEND=gnome dpkg-reconfigure popularity-contest
        else
        # install, but do not fail if something goes wrong
                nd-autoinstall popularity-contest /etc/popularity-contest.conf || true
@@ -94,7 +94,7 @@ if ! grep -q '/etc/fsl/fsl.sh' $HOME/.profile && \
 
 Do you want to get those files, if available, sourced automatically for your environment?
 "; then
-   for t in fsl afni; do
+   for t in fsl afni cmtk freesurfer; do
        cf="/etc/$t/$t.sh"
        grep -q -e "$cf" $HOME/.profile || \
                echo "[ -e \"$cf\" ] && . $cf" >> $HOME/.profile
@@ -102,7 +102,7 @@ Do you want to get those files, if available, sourced automatically for your env
 fi
 
 # create symlink to shared folder into homedir
-[ ! -e $HOME/host ] && ln -s /mnt/host $HOME/host
+[ ! -e $HOME/host ] && ln -s /media/sf_host $HOME/host
 
 packages=$(zenity --list $icon_opt --checklist --column="Install" --column="Description" \
           --column="Package Name" --print-column=3 --hide-column=3 --hide-header \