diff --git a/files/etc/profile.d/ssh-loginscreen.sh b/files/etc/profile.d/ssh-loginscreen.sh index 6c39d188036176c18fb0ee4f6f0a1ea0b5d755f9..33b738708347f49c2d6a19ccc6e1f66f12e0cec4 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