made it work with yum 2.4.0
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Mon, 31 Oct 2005 09:55:59 +0000 (09:55 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Mon, 31 Oct 2005 09:55:59 +0000 (09:55 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2228 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/scripts/vyum-worker

index 91e8eb4..922afb3 100755 (executable)
@@ -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