Skip to content

Commit

Permalink
Update sfos-upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
Olf0 authored Mar 6, 2019
1 parent a01dccd commit cde7f09
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions usr/bin/sfos-upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ then
set_ssu=""
upgrade_release="$(ssu re | rev | cut -f 1 -d ' ' | rev)"
else
set_ssu="$(ssu re | rev | cut -f 1 -d ' ' | rev)"
set_ssu="yes"
ssu_set="$(ssu re | rev | cut -f 1 -d ' ' | rev)"
upgrade_release="$1"
shift
if [ -n "$*" ]
Expand All @@ -76,9 +77,9 @@ else
exit 3
;;
esac
if [ "$set_ssu" != "$installed_release" ]
if [ "$ssu_set" != "$installed_release" ]
then
echo "Notice: The installed version $installed_release differs from the one currently set for SSU (${set_ssu})."
echo "Notice: The installed version $installed_release differs from the one currently set for SSU (${ssu_set})."
echo "A possible reason for this is, that the store-client ran wild."
echo "Never mind, the version for SSU will be set anew later on."
echo
Expand Down

0 comments on commit cde7f09

Please sign in to comment.