Added chmod +x to update

This commit is contained in:
Phil 2022-06-11 10:13:11 +01:00
parent 1824c8aa89
commit b357934844

View File

@ -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