[neon/neon/keyring/Neon/release] debian: release can bugger off, if you are running that and the once in five event that neon keyring is updated happens, just fix the .sources

Carlos De Maine null at kde.org
Thu Sep 26 16:44:53 BST 2024


Git commit fc67e2d47be54cff01046ce81d993e455479739f by Carlos De Maine.
Committed on 26/09/2024 at 15:44.
Pushed by carlosdem into branch 'Neon/release'.

release can bugger off,  if you are running that and the once in five event that neon keyring is updated happens, just fix the .sources

M  +0    -9    debian/neon-keyring.postinst

https://invent.kde.org/neon/neon/keyring/-/commit/fc67e2d47be54cff01046ce81d993e455479739f

diff --git a/debian/neon-keyring.postinst b/debian/neon-keyring.postinst
index b867cd6..53bdfd8 100644
--- a/debian/neon-keyring.postinst
+++ b/debian/neon-keyring.postinst
@@ -9,15 +9,6 @@ SUITE=$(grep DISTRIB_CODENAME= /etc/lsb-release | grep -oP '(?<=DISTRIB_CODENAME
 NEONARCHIVE_USER=$(grep -o User /etc/lsb-release | tr '[:upper:]' '[:lower:]' )
 if [ "$NEONARCHIVE_USER" = "user" ];
     then NEONARCHIVE=$NEONARCHIVE_USER;
-	# guard against release edition testing setups
-	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
-	NEONARCHIVE_RELEASE=$(grep -o -m 1 http://archive.neon.kde.org/release /etc/apt/sources.list.d/neon.list)
-	if [ "$NEONARCHIVE_RELEASE" = "http://archive.neon.kde.org/release" ];
-		then NEONARCHIVE="release";
-	fi
 fi
 # testing edition (in the future will need guards for stable edition testing iso's)
 NEONARCHIVE_TESTING=$(grep -o Testing /etc/lsb-release | tr '[:upper:]' '[:lower:]' )


More information about the Neon-commits mailing list