diff --git a/script-install-motd b/script-install-motd index aee0c9cd..34fd0d4a 100755 --- a/script-install-motd +++ b/script-install-motd @@ -13,11 +13,12 @@ main() { is_root - cp "$0" /usr/local/bin/ script="/usr/local/bin/${0##*/}" service="/usr/lib/systemd/system/motd.service" timer="/usr/lib/systemd/system/motd.timer" + [[ -f $script ]] || cp "$0" /usr/local/bin/ + install_services fi } @@ -31,8 +32,8 @@ print_motd() { undim='\e[0m' # shellcheck disable=SC2016 - echo -e ' - _ _ _ _ _ + echo -e \ +' _ _ _ _ _ | | | | | | | | | | | |__| | __ _ _ __| |_ _ __ ___ __ _ _ __ | | __ _| |__ | __ |/ _` | `__| __| `_ ` _ \ / _` | `_ \ | | / _` | `_ \