From 65fd640330062a1b32bc936b719ee70407b51f6c Mon Sep 17 00:00:00 2001 From: olf Date: Tue, 19 Sep 2023 10:23:18 +0200 Subject: [PATCH] [post_sfos-upgrade] Fix & comment --- bin/post_sfos-upgrade | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/post_sfos-upgrade b/bin/post_sfos-upgrade index 6242400..8ef40ff 100644 --- a/bin/post_sfos-upgrade +++ b/bin/post_sfos-upgrade @@ -78,7 +78,8 @@ then # As of SailfishOS 4.1.0, `version --dup` does not seem to always update all packages, any more: zypper update -y -l printf '\n' -if command -v pkcon > /dev/null 2>&1 +fi # Not executing either zypper or pkcon but both, because refreshing both of their caches is an important aspect. +if command -v pkcon > /dev/null 2>&1 # Is usually installed, but PackageKit is deliberately not specified as a dependency. # This may have become superfluous with SFOS 3.2.0, see # https://together.jolla.com/question/214572/changelog-320-torronsuo/#214572-packagekit # Would need to investigate, but refreshing twice will do no harm, anyway.