From 6ae97625fc129229ecec2981b4fe6893e82651d2 Mon Sep 17 00:00:00 2001
From: valentin <valentinb@fsmpi.rwth-aachen.de>
Date: Sun, 17 Oct 2021 15:59:43 +0200
Subject: [PATCH] fixed hard-coded distro codename in liprepoctrl.sh

---
 scripts/liprepoctl.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/liprepoctl.sh b/scripts/liprepoctl.sh
index bb19355..368af33 100644
--- a/scripts/liprepoctl.sh
+++ b/scripts/liprepoctl.sh
@@ -13,9 +13,9 @@ function install_repo()
 {
 	echo "# offline repository of the linux install party
 deb [ arch=amd64 trusted=yes ] file://$1/archives-$DIST_CODENAME $DIST_CODENAME lip" > "$FILENAME"
-	echo "deb http://ftp.halifax.rwth-aachen.de/ubuntu/ impish main restricted universe multiverse
-deb http://ftp.halifax.rwth-aachen.de/ubuntu/ impish-security main restricted universe multiverse
-deb http://ftp.halifax.rwth-aachen.de/ubuntu/ impish-updates main restricted universe multiverse" > "$ONLINEFILENAME"
+	echo "deb http://ftp.halifax.rwth-aachen.de/ubuntu/ $DIST_CODENAME main restricted universe multiverse
+deb http://ftp.halifax.rwth-aachen.de/ubuntu/ $DIST_CODENAME-security main restricted universe multiverse
+deb http://ftp.halifax.rwth-aachen.de/ubuntu/ $DIST_CODENAME-updates main restricted universe multiverse" > "$ONLINEFILENAME"
 }
 
 function uninstall_repo()
-- 
GitLab