[neon/neon/settings/Neon/release] usr/lib/neon_update: fix logic
Harald Sitter
null at kde.org
Mon Jun 14 14:48:47 BST 2021
Git commit 1686af630fe774b46dde01a0697f65d3bd62d499 by Harald Sitter.
Committed on 14/06/2021 at 13:42.
Pushed by sitter into branch 'Neon/release'.
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/1686af630fe774b46dde01a0697f65d3bd62d499
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