[neon/neon/keyring/Neon/release] debian: invert the logic,
Carlos De Maine
null at kde.org
Thu Sep 26 13:23:21 BST 2024
Git commit affd10e11c4e212cadc0ab71c0e7c633866d47a6 by Carlos De Maine.
Committed on 26/09/2024 at 12:23.
Pushed by carlosdem into branch 'Neon/release'.
invert the logic,
M +2 -3 debian/neon-keyring.postinst
https://invent.kde.org/neon/neon/keyring/-/commit/affd10e11c4e212cadc0ab71c0e7c633866d47a6
diff --git a/debian/neon-keyring.postinst b/debian/neon-keyring.postinst
index 0ba97a3..7278806 100644
--- a/debian/neon-keyring.postinst
+++ b/debian/neon-keyring.postinst
@@ -10,11 +10,10 @@ if [ "$NEONARCHIVE_USER" = "user" ];
then NEONARCHIVE=$NEONARCHIVE_USER;
fi
# guard against release edition testing setups
-if [ -e /etc/apt/sources.list.d/neon.list ]; then
- NEONARCHIVE_RELEASE=$(grep -o http://archive.neon.kde.org/release /etc/apt/sources.list.d/neon.list)
-fi
if [ -e /etc/apt/sources.list.d/neon.sources ]; then
NEONARCHIVE_RELEASE=$(grep -o http://archive.neon.kde.org/release /etc/apt/sources.list.d/neon.sources)
+elif [ -e /etc/apt/sources.list.d/neon.list ]; then
+ NEONARCHIVE_RELEASE=$(grep -o http://archive.neon.kde.org/release /etc/apt/sources.list.d/neon.list)
fi
if [ "$NEONARCHIVE_RELEASE" = "http://archive.neon.kde.org/release" ];
then NEONARCHIVE="release";
More information about the Neon-commits
mailing list