[neon/infrastructure/pangea-data] imager/config-hooks-neon: make it conditional

Carlos De Maine null at kde.org
Tue Aug 6 22:37:30 BST 2024


Git commit a97389ccfe135a1bf163c46c7114cbb119c08a88 by Carlos De Maine.
Committed on 06/08/2024 at 21:37.
Pushed by carlosdem into branch 'master'.

make it conditional

M  +3    -3    imager/config-hooks-neon/repo.sh

https://invent.kde.org/neon/infrastructure/pangea-data/-/commit/a97389ccfe135a1bf163c46c7114cbb119c08a88

diff --git a/imager/config-hooks-neon/repo.sh b/imager/config-hooks-neon/repo.sh
index 642b6ce..d3a0bd3 100644
--- a/imager/config-hooks-neon/repo.sh
+++ b/imager/config-hooks-neon/repo.sh
@@ -1,4 +1,4 @@
-#if [ "$VERSION_CODENAME" = "jammy" ]; then
+if [ "$VERSION_CODENAME" = "jammy" ]; then
 apt install -y dirmngr gnupg1
 ARGS="--batch --verbose"
 GPG="gpg1"
@@ -15,7 +15,7 @@ apt-key export '444D ABCF 3667 D028 3F89  4EDD E6D4 7362 5575 1E5D' | $GPG \
   echo "deb http://archive.neon.kde.org/${NEONARCHIVE} $SUITE main" >> config/archives/neon.list
   echo "deb-src http://archive.neon.kde.org/${NEONARCHIVE} $SUITE main" >> config/archives/neon.list
 
-#else
+else
 apt install -y curl
 curl -sS https://archive.neon.kde.org/public.key | tee /etc/apt/keyrings/neon-archive-keyring-pubkey.gpg
 
@@ -29,6 +29,6 @@ Components: $LB_PARENT_ARCHIVE_AREAS
 Architectures: $ARCH
 Signed-By: /etc/apt/keyrings/neon-archive-keyring-pubkey.gpg
 EOF
-#fi
+fi
 
 


More information about the Neon-commits mailing list