From 490a5e9e1a221f710ea53f9c57b78412f08578d8 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Thu, 4 Oct 2012 05:29:10 +0200 Subject: [PATCH] vm/spec: fix adding yum-proxy configuration Do not add entry if already present. --- rpm_spec/core-vm.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpm_spec/core-vm.spec b/rpm_spec/core-vm.spec index 72bf87a8..dd5e26a9 100644 --- a/rpm_spec/core-vm.spec +++ b/rpm_spec/core-vm.spec @@ -257,7 +257,7 @@ if ! [ -e /lib/firmware/updates ]; then ln -s /lib/modules/firmware /lib/firmware/updates fi -if ! grep -q '/etc/yum\.conf\.d/qubes-proxy\.conf'; then +if ! grep -q '/etc/yum\.conf\.d/qubes-proxy\.conf' /etc/yum.conf; then echo >> /etc/yum.conf echo '# Yum does not support inclusion of config dir...' >> /etc/yum.conf echo 'include=file:///etc/yum.conf.d/qubes-proxy.conf' >> /etc/yum.conf