diff options
author | Andreas Maunz <andreas@maunz.de> | 2011-03-29 12:07:43 +0200 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2011-03-29 12:07:43 +0200 |
commit | e53c4f70598e403ba38c27a4637d540a10ee2075 (patch) | |
tree | 44883093c4e7121457ac5ec5d4b0152ae34527f6 /kernlab.sh | |
parent | 5b5f068e2096ef86491887e773e2cf2349bb6344 (diff) |
Kernlab fix: Missing command
Diffstat (limited to 'kernlab.sh')
-rwxr-xr-x | kernlab.sh | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -10,6 +10,12 @@ if [ "$(id -u)" = "0" ]; then fi # Utils +WGET="`which wget`" +if [ ! -e "$WGET" ]; then + echo "'wget' missing. Install 'wget' first. Aborting..." + exit 1 +fi + R="`which R`" if [ ! -e "$R" ]; then echo "'R' missing. Install 'R' first. Aborting..." |