From 49b70f037cf9acfb193ff4166d9aa03eb2fe4b29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sun, 3 Sep 2017 15:35:58 +0200 Subject: [PATCH] dom0-updates: do not modify yum.conf Few reasons for this: 1. new templates use dnf to download packages, so yum.conf is unused 2. dom0 in Qubes 4.0 don't have this file at all (so sed fails here) 3. $OPTS already contains --setopt=reposdir=... Fixes QubesOS/qubes-issues#2945 --- misc/qubes-download-dom0-updates.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/misc/qubes-download-dom0-updates.sh b/misc/qubes-download-dom0-updates.sh index cb4b52d..cd527a4 100755 --- a/misc/qubes-download-dom0-updates.sh +++ b/misc/qubes-download-dom0-updates.sh @@ -61,7 +61,6 @@ if ! [ -d "$DOM0_UPDATES_DIR" ]; then fi mkdir -p $DOM0_UPDATES_DIR/etc -sed -i '/^reposdir\s*=/d' $DOM0_UPDATES_DIR/etc/yum.conf if [ -e /etc/debian_version ]; then # Default rpm configuration on Debian uses ~/.rpmdb for rpm database (as