From d397f246db7fced3a069898bbbc3348c2b6dff91 Mon Sep 17 00:00:00 2001 From: Phil Date: Sun, 26 Jun 2022 20:49:12 +0100 Subject: [PATCH] Fixed BAsh --- setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index 2e93743..332efe4 100755 --- a/setup.sh +++ b/setup.sh @@ -1,6 +1,6 @@ #!/bin/bash -echo "This Script has to be ran as Sudo" -sudo -v +bash -c 'echo "This Script has to be ran as Sudo"' +bash -c "sudo -v" if [ -d "/etc/update-motd.d/old" ];then bash -c "sudo rm /etc/update-motd.d/00-custom" bash -c 'sudo wget https://git.ncltech.co.uk/api/v1/repos/Phil/update-motd.d/raw/00-custom -O /etc/update-motd.d/00-custom'