projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa4294a
)
Don't do yum check if installing from yum, due to lock clash
author
Jamie Cameron
<jcameron@webmin.com>
Sun, 6 Dec 2009 01:13:33 +0000
(17:13 -0800)
committer
Jamie Cameron
<jcameron@webmin.com>
Sun, 6 Dec 2009 01:13:33 +0000
(17:13 -0800)
package-updates/postinstall.pl
patch
|
blob
|
history
diff --git
a/package-updates/postinstall.pl
b/package-updates/postinstall.pl
index
ae39009
..
7cae1b7
100644
(file)
--- a/
package-updates/postinstall.pl
+++ b/
package-updates/postinstall.pl
@@
-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();
+ }
}