From 3ff024e21bcbe626da36ae838ddf8a5512292ebc Mon Sep 17 00:00:00 2001 From: Tommy Date: Wed, 26 Jun 2024 00:12:29 -0700 Subject: [PATCH] Make sample script also POSIX compliant Signed-off-by: Tommy --- sample-scripts/Ubuntu-24.04-LEMP.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sample-scripts/Ubuntu-24.04-LEMP.sh b/sample-scripts/Ubuntu-24.04-LEMP.sh index fd9e7b9..ae5fb0a 100644 --- a/sample-scripts/Ubuntu-24.04-LEMP.sh +++ b/sample-scripts/Ubuntu-24.04-LEMP.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # Copyright (C) 2024 Thien Tran # @@ -17,7 +17,7 @@ # Assumes that it is run AFTER https://github.com/TommyTran732/Linux-Setup-Scripts/blob/main/Ubuntu-24.04-Server.sh output(){ - echo -e '\e[36m'"$1"'\e[0m'; + printf '\e[1;34m%-6s\e[m\n' "${@}" } unpriv(){