]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Second fix on changing /etc/apt/sources.list
authorNick Porter <nick@portercomputing.co.uk>
Mon, 18 Jul 2022 10:27:17 +0000 (11:27 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Mon, 18 Jul 2022 10:27:17 +0000 (11:27 +0100)
.github/workflows/ci-deb.yml

index f766fef1673d1e2c4d7e497930b90f4d283871e5..bf548a54ec0ff9d887d1ba19263990f4a2685140 100644 (file)
@@ -205,8 +205,10 @@ jobs:
 
     - name: Package manager performance and stability improvements
       run: |
+        if [ -f "/etc/apt/sources.list" ]; then
         sed -i 's/deb.debian.org/debian-archive.trafficmanager.net/' /etc/apt/sources.list
         sed -i 's/archive.ubuntu.com/azure.archive.ubuntu.com/' /etc/apt/sources.list
+        fi
         echo 'Acquire::Retries "10";' > /etc/apt/apt.conf.d/80-retries
         echo 'force-unsafe-io' > /etc/dpkg/dpkg.cfg.d/02speedup
         echo 'man-db man-db/auto-update boolean false' | debconf-set-selections