Commit d19bc538 authored by Noe Nieto's avatar Noe Nieto 💬

Shipyard setup

parent 0259f393
#!/bin/bash
# Script to setup all the tools needed for LDH developers
# Inspired by https://easyengine.io/
# Blue color
function ldh_echo()
{
echo $(tput setaf 4)$@$(tput sgr0)
}
# White color
function ldh_info()
{
echo $(tput setaf 7)$@$(tput sgr0)
}
# Red color
function ldh_error()
{
echo $(tput setaf 1)$@$(tput sgr0)
}
# Checking permissions
if [[ $EUID -ne 0 ]]; then
ldh_error "Sudo privilege required..."
ldh_error "Uses: wget -qO ee rt.cx/ee && sudo bash ee"
exit 100
fi
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment