Browse files

added hints for error messages if certain binary was not found

  • Loading branch information...
1 parent 4006c9d commit 51137ac4a32d420c56ede7192377eade2b7db9f2 Stefan Wendler committed Feb 19, 2013
Showing with 5 additions and 5 deletions.
  1. +5 −5 install-propeller-toolchain.sh
View
10 install-propeller-toolchain.sh
@@ -102,7 +102,7 @@ stampdone() {
}
chkbin() {
- which $1 > /dev/null || die "$1 not found in path"
+ which $1 > /dev/null || die "$1 not found in path ($2)"
}
mdine() {
@@ -140,10 +140,10 @@ setup() {
return
fi
- chkbin wget
- chkbin svn
- chkbin hg
- chkbin sudo
+ chkbin wget "on Debian/Ubuntu try: sudo apt-get install wget"
+ chkbin svn "on Debian/Ubuntu try: sudo apt-get install subversion"
+ chkbin hg "on Debian/Ubuntu try: sudo apt-get install mercurial"
+ chkbin sudo "on Debian/Ubuntu try as root: apt-get install sudo"
mdine $DL_DIR

0 comments on commit 51137ac

Please sign in to comment.