Re: [PATCH] Remove yum cache for anaconda's temporary repos (#593649).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/24/2010 07:23 AM, Chris Lumens wrote:
> ---
>  yuminstall.py |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/yuminstall.py b/yuminstall.py
> index 5b6c55b..7c149d8 100644
> --- a/yuminstall.py
> +++ b/yuminstall.py
> @@ -281,7 +281,7 @@ class AnacondaYumRepo(YumRepository):
>          cachedir = self.getAttribute('cachedir')
>  
>          if os.path.isdir(cachedir):
> -            if not self.needsNetwork() or self.name == "Installation Repo":
> +            if not self.needsNetwork() or self.name == "Installation Repo" or self.id.startswith("anaconda-"):
>                  shutil.rmtree(cachedir)
>              else:
>                  if os.path.exists("%s/headers" % cachedir):

Ack

- -- 
Brian C. Lane <bcl@xxxxxxxxxx>
Red Hat / Port Orchard, WA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEVAwUBS/qxKhF+jBaO/jp/AQI89QgAoMN+1j/Pjj6AunEmQzfncCFuVRxEsVVo
6AtTXjz9fazUa5suGdh7K0dzp36MKuq3h5jE73MDLNAJHuZWBADuNLi2w3J1grV7
zuE2h297DBE1H63xpA+9GlBseb4+mYzu7EiylreRQFfNSy3oSgmxHidiRfU0s1UV
Wyw6hNWo2wBlRlog2v8bF0h0do9yj3xTTa5VNiVPLwTy0mHbcSbdSi3KIs5Fk7bF
wvPM2/pJJtcSNcSGNufFTiqS/EdKTrctc96yOWEuqufG8AOie1Br8EpkEmIU91D9
NVMe5mVKUUfA/db0H0WjS0/9mWQJdUxgYLEs3MLz8TMr7JTQKpQXnQ==
=dksS
-----END PGP SIGNATURE-----

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux