From b3579348440c295c7fe150327e2cfc8b57a1d02a Mon Sep 17 00:00:00 2001 From: Phil Date: Sat, 11 Jun 2022 10:13:11 +0100 Subject: [PATCH] Added chmod +x to update --- setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.sh b/setup.sh index 7eb36b8..515a0e5 100755 --- a/setup.sh +++ b/setup.sh @@ -1,6 +1,7 @@ #!/bin/bash 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' bash -c "sudo chmod +x /etc/update-motd.d/00-custom" else