From 5d8e460e7154cdd74ebad10eaf787dbece1e8de4 Mon Sep 17 00:00:00 2001
From: Jens Steidl <Jens.Steidl@slub-dresden.de>
Date: Tue, 26 Jul 2022 15:43:55 +0200
Subject: [PATCH] chore: package name changed

---
 files/etc/profile.d/ssh-loginscreen.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/files/etc/profile.d/ssh-loginscreen.sh b/files/etc/profile.d/ssh-loginscreen.sh
index 6c39d18..33b7387 100755
--- a/files/etc/profile.d/ssh-loginscreen.sh
+++ b/files/etc/profile.d/ssh-loginscreen.sh
@@ -42,8 +42,8 @@ SSH_FINGERPRINT="$( ssh-keyscan "${HOSTNAME}" 2> /dev/null | ssh-keygen -E sha25
 WEATHER="$( curl -s --max-time 2 'http://rss.accuweather.com/rss/liveweather_rss.asp?metric=1&locCode=EUR|DE|DE01069|DRESDEN|' | sed --quiet '/Currently:/ s/.*: \(.*\): \(-*[0-9]*\)\([CF]\).*/\2°\3, \1/p' )"
 SUBAPP_VERSION="(not installed)"
 if [[ $( command -v dpkg ) ]]; then
-	if dpkg -l | grep -q 'submissionapplication4rosetta'; then
-		SUBAPP_VERSION="$( dpkg --status submissionapplication4rosetta | grep '^Version:' | cut -d ' ' -f 2 )"
+	if dpkg -l | grep -q 'submission-application4rosetta'; then
+		SUBAPP_VERSION="$( dpkg --status submission-application4rosetta | grep '^Version:' | cut -d ' ' -f 2 )"
 	fi
 fi
 # alternative weather service that provides much nicer icons. However, these icons are not shown nicely in PuTTY
-- 
GitLab