[neon/neon/keyring/Neon/release] debian: touch $DEB_LIST

Carlos De Maine null at kde.org
Thu Aug 29 09:52:59 BST 2024


Git commit 71ba6eb83f4441dcf0de68723f6ccac6c57807ba by Carlos De Maine.
Committed on 29/08/2024 at 08:52.
Pushed by carlosdem into branch 'Neon/release'.

touch $DEB_LIST

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

https://invent.kde.org/neon/neon/keyring/-/commit/71ba6eb83f4441dcf0de68723f6ccac6c57807ba

diff --git a/debian/neon-keyring.postinst b/debian/neon-keyring.postinst
index 2209878..034b13e 100644
--- a/debian/neon-keyring.postinst
+++ b/debian/neon-keyring.postinst
@@ -28,6 +28,7 @@ if [ "$1" = 'configure' -a -n "$2" ]; then
 				# update the *.list to reflect the signed key path
 				SIGNEDBY='[signed-by=/etc/apt/keyrings/neon-archive-keyring.gpg]'
 				DEB_LIST=/etc/apt/sources.list.d/neon.list
+				touch $DEB_LIST
 				sed -i "s#deb http#deb $SIGNEDBY http#" $DEB_LIST
 				sed -i "s#deb-src http#deb-src $SIGNEDBY http#" $DEB_LIST
 			done
@@ -40,6 +41,7 @@ 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
 				sed -i "s#deb [arch=$ARCH] file#deb [arch=$ARCH $SIGNEDBY file#" $DEB_LIST


More information about the Neon-commits mailing list