Don't do yum check if installing from yum, due to lock clash
authorJamie Cameron <jcameron@webmin.com>
Sun, 6 Dec 2009 01:13:33 +0000 (17:13 -0800)
committerJamie Cameron <jcameron@webmin.com>
Sun, 6 Dec 2009 01:13:33 +0000 (17:13 -0800)
package-updates/postinstall.pl

index ae39009..7cae1b7 100644 (file)
@@ -6,7 +6,9 @@ sub module_install
 # Force clear all caches, as collected information may have changed
 &flush_package_caches();
 
-# Re-generate cache of available packages
-&list_available();
+if ($software::update_system ne 'yum') {
+       # Re-generate cache of available packages
+       &list_available();
+       }
 }