Merge 0.30.214.
[util-vserver.git] / scripts / vyum-worker
index 7f1e6a3..c787b55 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/bash
-# $Id: vyum-worker 2361 2006-11-01 19:46:02Z dhozac $
+# $Id: vyum-worker 2551 2007-06-21 12:56:25Z dhozac $
 
 # Copyright (C) 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
 #  
@@ -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"))'
        ;;
     (*)
@@ -68,7 +68,7 @@ case $($yum --version|tail -n 1) in
 You are using a version of yum which current status is unknown to vyum.
 
 Just to be sure, 'vyum' will use dirty hacks which might not work when
-the vsrever is running and local DOS attacks are possible.
+the vserver is running and local DOS attacks are possible.
 
 Execution will continue in 5 seconds..."
        sleep 5