From 8cc5c22dc1847048552c52751b5365939cb87a03 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Mon, 31 Oct 2005 09:55:59 +0000 Subject: [PATCH] made it work with yum 2.4.0 git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2228 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/scripts/vyum-worker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util-vserver/scripts/vyum-worker b/util-vserver/scripts/vyum-worker index 91e8eb4..922afb3 100755 --- a/util-vserver/scripts/vyum-worker +++ b/util-vserver/scripts/vyum-worker @@ -40,7 +40,7 @@ test -z "$_YUM" || { yum=${YUM:-yum} conf=yum.conf case $(yum --version) in - (2.[0123]*) + (2.[01234]*) python -c 'import yum,sys; sys.exit(not hasattr(yum.config.yumconf, "getRootedPath"))' &>/dev/null || { warning "\ You are using a version of yum which is insecure and broken in chroot -- 1.8.1.5