Fixed Execute error

This commit is contained in:
Phil 2022-06-11 09:45:35 +01:00
parent 895806d5b1
commit 1824c8aa89

View File

@ -2,6 +2,7 @@
if [ -d "/etc/update-motd.d/old" ];then
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
bash -c "sudo apt install inxi -y"
bash -c "sudo mkdir /etc/update-motd.d/old"