made it work with yum 2.4.0
[util-vserver.git] / 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