Last active
October 10, 2024 14:27
-
-
Save 0b1kn00b/813939958dead2f4bcb71bedc3dccb89 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ! which bb &> /dev/null; then | |
#echo "babashka not installed" | |
if which sudo &> /dev/null; then | |
#echo "sudo exists, using it" | |
sudo bash < <(curl -s https://raw.githubusercontent.com/babashka/babashka/master/install) | |
else | |
#echo "assuming that user is administrator" | |
bash < <(curl -s https://raw.githubusercontent.com/babashka/babashka/master/install) | |
fi | |
# else | |
#echo "babashka already installed" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
paste the following into
.envrc
to use