From 5e879497cc1f65507162fd3ca0adf11b425537a9 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Fri, 20 Jul 2012 12:45:37 -0400 Subject: [PATCH] ENH: nd-vmsetupwizard for wheezy -- robust link, meta-selections for R, PyMVPA; removed Sun java plugin also extended list for Scientific python to include spyder and pandas --- tools/nd-vmsetupwizard | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/tools/nd-vmsetupwizard b/tools/nd-vmsetupwizard index 8d69df4..c889a04 100755 --- a/tools/nd-vmsetupwizard +++ b/tools/nd-vmsetupwizard @@ -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 -- 2.39.2