Added chmod +x to update
This commit is contained in:
parent
1824c8aa89
commit
b357934844
1
setup.sh
1
setup.sh
@ -1,6 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ -d "/etc/update-motd.d/old" ];then
|
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 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"
|
bash -c "sudo chmod +x /etc/update-motd.d/00-custom"
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user