Handle version 3.0 as well.
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Thu, 12 Oct 2006 14:39:13 +0000 (14:39 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Thu, 12 Oct 2006 14:39:13 +0000 (14:39 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2356 94cd875c-1c1d-0410-91d2-eb244daf1a30

scripts/vyum-worker

index 460ec65..ccfd5a9 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]*)
+    (2.[6789]*|3.0*)
        check 'import yum,sys; sys.exit(not hasattr(yum.config.YumConf, "getRootedPath"))'
        ;;
     (*)