diff --git a/scripts/linuxparty.sh b/scripts/linuxparty.sh index 9713401c72a4405d6f6d0ba362d8d3af0f27b460..d19abd74216ca2c1b8cc8f9da2339202f4fb2c14 100644 --- a/scripts/linuxparty.sh +++ b/scripts/linuxparty.sh @@ -368,9 +368,8 @@ echo echo "Sonst muss aus dem Internet heraus installiert werden. Das ist langsam, geht aber auch." # Make sure that RWTH update server ist listed in the packages sources -if grep -q 'halifax' /etc/apt/sources.list +if ! grep -q 'rwth' /etc/apt/sources.list then -else source /etc/lsb-release newsourcefile=$(mktemp) echo "deb http://ftp.halifax.rwth-aachen.de/ubuntu/ $DISTRIB_CODENAME main restricted universe multiverse @@ -406,7 +405,7 @@ fi echo echo "Bereitstellung der Paketquellen" # Entweder apt-get update -# Oder apt-clone restore +# Oder apt-clone restore (apt-clone ist in Kubuntu 21.10 nicht mehr verfügbar) if [[ $HAVELIPSTICK -eq 1 ]] then # infuse script has already done our job here diff --git a/scripts/liprepoctl.sh b/scripts/liprepoctl.sh index a750a5706a322d901d1c6ec49e8316488ea9c8fa..4dc6285cb3a3f321592284045b49f4edad1f024a 100644 --- a/scripts/liprepoctl.sh +++ b/scripts/liprepoctl.sh @@ -26,7 +26,7 @@ case $ACTION in exit 2 fi install_repo "$2" - apt-get update + apt-get -o "Dir::Etc::SourceList=$FILENAME" update echo "Repository is now active, remember to call \"$0 off\" to deactivate it when you are done." ;; "off")