Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- die ()
- {
- echo "[DIE]: $1"
- exit 1
- }
- # When installChruby returns an error, print the error message and exit
- [[ $CHRUBY =~ [Yy] ]] && (installChruby || die "Error installing chruby")
- if [[ $CHRUBY =~ [Yy] ]]; then installChruby || die "Error installing Chruby"; fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement