From 15f743b3d00ef8e3315507b2d60dbc58d1af1909 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Mon, 7 Jun 2021 07:34:04 -0400 Subject: [PATCH] added line break in motd --- update | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/update b/update index 27b17ddb..de41beca 100755 --- a/update +++ b/update @@ -10,7 +10,10 @@ if [ "$1" = "u" ]; then fi -sudo sed -i 's/config.sh/config/g' /etc/motd +sudo sed -i 's/config.sh/config /g' /etc/motd + +sudo sed -i 's/installed and/installed\nand/g' /etc/motd + cd /home/pi/CubeSatSim @@ -51,7 +54,7 @@ fi grep 'update' /home/pi/CubeSatSim/.updated if [[ $(grep 'update' /home/pi/CubeSatSim/.updated) ]]; then - echo "update script updated" + echo "update script updated, running again" /home/pi/CubeSatSim/update fi