Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2014
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. die ()
  2. {
  3. echo "[DIE]: $1"
  4. exit 1
  5. }
  6.  
  7. # When installChruby returns an error, print the error message and exit
  8. [[ $CHRUBY =~ [Yy] ]] && (installChruby || die "Error installing chruby")
  9.  
  10. if [[ $CHRUBY =~ [Yy] ]]; then installChruby || die "Error installing Chruby"; fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement