From 37c26102498dfb6e57206fc9eaef6456d771872a Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Wed, 9 Mar 2022 00:13:25 -0500 Subject: [PATCH] fix appending issue, bump version --- bin/update-motd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/update-motd b/bin/update-motd index 174e876..70405c3 100755 --- a/bin/update-motd +++ b/bin/update-motd @@ -1,6 +1,6 @@ #!/bin/sh -RELEASE=1.0.0 +RELEASE=1.0.2 USRDIR="/usr/share/update-motd.d" ETCDIR="/etc/update-motd.d" @@ -70,7 +70,7 @@ run() { [ -n "$HELP" ] && help [ -n "$VERSION" ] && version -[ -n "$DRYRUN" ] || touch $MOTDFILE +[ -n "$DRYRUN" ] || echo "" > $MOTDFILE # list all files in USRDIR and ETCDIR # sort them to get the unique values in order