Get rid of the work directory on success.
[util-vserver.git] / scripts / vyum-worker
index 460ec65..d1e12e3 100755 (executable)
@@ -60,11 +60,11 @@ 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"))'
        ;;
     (*)
-       warning"\
+       warning "\
 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