Created
February 2, 2024 18:01
-
-
Save beatak/a01583e960bd76cdcb98df6c3bc3c063 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
#!/bin/sh | |
set -e | |
if [ -f /usr/local/bin/mo.sh ]; then | |
echo "mo.sh already installed" | |
else | |
apt-get update | |
apt-get install -yqq --no-install-recommends ca-certificates curl | |
curl -sSL https://raw.githubusercontent.com/tests-always-included/mo/master/mo -o mo.sh | |
chmod a+x mo.sh | |
mv mo.sh /usr/local/bin/mo.sh | |
echo "Now mo.sh is at /usr/local/bin" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment