From: Yaroslav Halchenko Date: Sat, 5 Nov 2011 19:51:29 +0000 (-0400) Subject: VM: adjusted for new VB exposing mounted host directories under /media X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=c163d81e8c6cfb2ef66eb7814450a2e7e555a556;p=neurodebian.git VM: adjusted for new VB exposing mounted host directories under /media + added hooks for cmtk and freesurfer .sh configs sourcing --- diff --git a/tools/nd-vmsetupwizard b/tools/nd-vmsetupwizard index 2882af8..ed3c7a4 100755 --- a/tools/nd-vmsetupwizard +++ b/tools/nd-vmsetupwizard @@ -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 \