]> git.donarmstrong.com Git - neurodebian.git/commitdiff
ENH: nd-vmsetupwizard for wheezy -- robust link, meta-selections for R, PyMVPA; remov...
authorYaroslav Halchenko <debian@onerussian.com>
Fri, 20 Jul 2012 16:45:37 +0000 (12:45 -0400)
committerYaroslav Halchenko <debian@onerussian.com>
Fri, 20 Jul 2012 16:45:37 +0000 (12:45 -0400)
also extended list for Scientific python to include spyder and pandas

tools/nd-vmsetupwizard

index 8d69df4b38c3da75afb345ade40b7363371c9428..c889a046faa18e631fbd8cf37cf2c90a86611f8b 100755 (executable)
@@ -102,11 +102,12 @@ 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 /media/sf_host $HOME/host
+# note: -e check would exit 1 if link is broken
+#       ln -f is used for further robustness
+[ ! -L $HOME/host ] && ln -sf /media/sf_host $HOME/host
 
-# TODO: add PyMVPA:
-#   FALSE "PyMVPA" "python-mvpa2,python-mvpa2-doc,python-mvpa2-tutorial-data" \
-# needs -doc and -tutorial-data package
+# TODO:
+#   we need to package python-mvpa2-tutorial-data for PyMVPA
 packages=$(zenity --list $icon_opt --checklist --column="Install" --column="Description" \
           --column="Package Name" --print-column=3 --hide-column=3 --hide-header \
           --separator=' ' --text="Please select any additional component that shall be installed.
@@ -118,10 +119,11 @@ FALSE "Emacs" "emacs" \
 FALSE "GNU Image Manipulation Program (Gimp)" "gimp" \
 FALSE "Octave" "octave,qtoctave" \
 FALSE "OpenOffice.org" "openoffice.org" \
-FALSE "Scientific Python" "ipython,python-scipy,python-matplotlib" \
+FALSE "PyMVPA" "ipython,python-mvpa2,python-mvpa2-doc,spyder" \
+FALSE "R" "r-recommended" \
+FALSE "Scientific Python" "ipython,python-scipy,python-matplotlib,spyder,python-pandas" \
 FALSE "TeX Live" "texlive" \
 FALSE "Adobe Flash browser plugin" "flashplugin-nonfree" \
-FALSE "Sun Java browser plugin" "sun-java6-plugin" \
 || true)
 
 if [ -n "$packages" ]; then