[neon/neon/keyring/Neon/unstable] debian: put it in the right place

Carlos De Maine null at kde.org
Thu Aug 29 10:40:50 BST 2024


Git commit 7b2c239f59953ae27d880f7d5906ab237ab9fd56 by Carlos De Maine.
Committed on 29/08/2024 at 09:40.
Pushed by carlosdem into branch 'Neon/unstable'.

put it in the right place

M  +1    -1    debian/neon-keyring.postinst

https://invent.kde.org/neon/neon/keyring/-/commit/7b2c239f59953ae27d880f7d5906ab237ab9fd56

diff --git a/debian/neon-keyring.postinst b/debian/neon-keyring.postinst
index 034b13e..86bd416 100644
--- a/debian/neon-keyring.postinst
+++ b/debian/neon-keyring.postinst
@@ -41,9 +41,9 @@ if [ "$1" = 'configure' -a -n "$2" ]; then
 				# rm the the key from the apt-key trusted.gpg keyring
 				apt-key --keyring "$TRUSTEDFILE" del $KEY > /dev/null 2>&1 || :
 				# update the *.list to reflect the signed key path
-				touch $DEB_LIST
 				SIGNEDBY='[signed-by=/etc/apt/keyrings/ubuntu-local-archive-one-time-signing-key.gpg]'
 				DEB_LIST=/etc/apt/sources.list.d/preinstalled-pool.list
+				touch $DEB_LIST
 				sed -i "s#deb [arch=$ARCH] file#deb [arch=$ARCH $SIGNEDBY file#" $DEB_LIST
 			done
 		fi


More information about the Neon-commits mailing list