diff --git a/setup.sh b/setup.sh index 45a35b4..e810953 100755 --- a/setup.sh +++ b/setup.sh @@ -1,6 +1,7 @@ #!/bin/bash -sudo mkdir /etc/update-motd.d/old -sudo mv /etc/update-motd.d/* /etc/update-motd.d/old/ +bash -c "sudo apt install inxi" +bash -c "sudo mkdir /etc/update-motd.d/old" +bash -c "sudo mv /etc/update-motd.d/* /etc/update-motd.d/old/" bash -c "sudo cat < /etc/update-motd.d/00-custom #!/bin/sh echo @@ -33,4 +34,4 @@ if [ -x /usr/lib/update-notifier/update-motd-reboot-required ]; then exec /usr/lib/update-notifier/update-motd-reboot-required fi EOF" -sudo chmod +x /etc/update-motd.d/00-custom +bash -c "sudo chmod +x /etc/update-motd.d/00-custom"