From fd23a725dbe1d6c98d567f04b6767a02860cacd1 Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Thu, 12 Oct 2006 14:39:13 +0000 Subject: [PATCH] Handle version 3.0 as well. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2356 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- scripts/vyum-worker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/vyum-worker b/scripts/vyum-worker index 460ec65..ccfd5a9 100755 --- a/scripts/vyum-worker +++ b/scripts/vyum-worker @@ -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"))' ;; (*) -- 1.8.1.5