[neon/neon/keyring/Neon/release] debian: Update neon-keyring.postinst
Carlos De Maine
null at kde.org
Thu Sep 26 15:22:42 BST 2024
Git commit 9f6c595d9e0c26115623928aca2dd56a91ac05d4 by Carlos De Maine.
Committed on 26/09/2024 at 14:22.
Pushed by carlosdem into branch 'Neon/release'.
Update neon-keyring.postinst
M +5 -2 debian/neon-keyring.postinst
https://invent.kde.org/neon/neon/keyring/-/commit/9f6c595d9e0c26115623928aca2dd56a91ac05d4
diff --git a/debian/neon-keyring.postinst b/debian/neon-keyring.postinst
index cdd3de5..87c5879 100644
--- a/debian/neon-keyring.postinst
+++ b/debian/neon-keyring.postinst
@@ -12,11 +12,14 @@ if [ "$NEONARCHIVE_USER" = "user" ];
# guard against release edition testing setups
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)
+ if [ "$NEONARCHIVE_RELEASE" = "http://archive.neon.kde.org/release" ];
+ then NEONARCHIVE="release";
+ fi
elif [ -e /etc/apt/sources.list.d/neon.list ]; then
NEONARCHIVE_RELEASE=$(grep -o -m 1 http://archive.neon.kde.org/release /etc/apt/sources.list.d/neon.list)
- fi
- if [ "$NEONARCHIVE_RELEASE" = "http://archive.neon.kde.org/release" ];
+ if [ "$NEONARCHIVE_RELEASE" = "http://archive.neon.kde.org/release" ];
then NEONARCHIVE="release";
+ fi
fi
fi
# testing edition (in the future will need guards for stable edition testing iso's)
More information about the Neon-commits
mailing list