[neon/neon/settings/Neon/unstable] usr/lib/neon_update: fix logic

Harald Sitter null at kde.org
Fri May 21 11:11:07 BST 2021


Git commit 22da6abb6c2501b678377fd48276a557b7ad0e88 by Harald Sitter.
Committed on 21/05/2021 at 10:10.
Pushed by sitter into branch 'Neon/unstable'.

fix logic

I've made the code more readable yet haven't read it. obviously
if skip is no we should abort the skipper, otherwise skip the update.

M  +1    -1    usr/lib/neon_update/neon_offline_skip.sh

https://invent.kde.org/neon/neon/settings/commit/22da6abb6c2501b678377fd48276a557b7ad0e88

diff --git a/usr/lib/neon_update/neon_offline_skip.sh b/usr/lib/neon_update/neon_offline_skip.sh
index 37c9e53..a15141e 100755
--- a/usr/lib/neon_update/neon_offline_skip.sh
+++ b/usr/lib/neon_update/neon_offline_skip.sh
@@ -27,7 +27,7 @@ else
   fi
 fi
 
-if [ "$skip" = "yes" ]; then
+if [ "$skip" = "no" ]; then
   echo "Continuing with update"
   exit 0
 fi


More information about the Neon-commits mailing list