Reformat with 2 space indent

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-02-14 03:18:44 +05:30
parent 7953399bb8
commit 89a61329ba
No known key found for this signature in database
GPG key ID: B7843F823355E9B9
2 changed files with 86 additions and 86 deletions

View file

@ -3,7 +3,7 @@
CL_RST="\033[0m"
CL_YLW="\033[01;33m"
function prettyPrint {
function prettyPrint() {
echo -e "${CL_YLW}${1}${CL_RST}"
}
@ -12,7 +12,7 @@ declare -a services=('caddy' 'goaccess' 'mirror-bot' 'mirror-bot-2' 'mkr-bin' 'u
# Now loop through each service and install it
for service in "${services[@]}"; do
if [ "${1}" ] && [[ "${service}" != "${1}" && "${service}.service" != "${1}" ]]; then
if [ "${1}" ] && [[ ${service} != "${1}" && "${service}.service" != "${1}" ]]; then
continue
fi
prettyPrint "Checking root access"