Support 3.1.x and 3.2.x as well.
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Thu, 21 Jun 2007 12:56:25 +0000 (12:56 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Thu, 21 Jun 2007 12:56:25 +0000 (12:56 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2551 94cd875c-1c1d-0410-91d2-eb244daf1a30

scripts/vyum-worker

index a7447b5..346dab1 100755 (executable)
@@ -60,7 +60,7 @@ case $($yum --version|tail -n 1) in
     (2.[012345]*)
        check 'import yum,sys; sys.exit(not hasattr(yum.config.yumconf, "getRootedPath"))'
        ;;
-    (2.[6789]*|3.0*)
+    (2.[6789]*|3.[012]*)
        check 'import yum,sys; sys.exit(not hasattr(yum.config.YumConf, "getRootedPath"))'
        ;;
     (*)