projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee7e3b2
)
Fix pkgutil detection
author
Jamie Cameron
<jcameron@webmin.com>
Fri, 22 May 2009 23:51:19 +0000
(23:51 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Fri, 22 May 2009 23:51:19 +0000
(23:51 +0000)
software/software-lib.pl
patch
|
blob
|
history
diff --git
a/software/software-lib.pl
b/software/software-lib.pl
index
175b7c0
..
a0c09f2
100644
(file)
--- a/
software/software-lib.pl
+++ b/
software/software-lib.pl
@@
-29,7
+29,8
@@
else {
elsif (&has_command("up2date") && &has_command("rhn_check")) {
$update_system = "rhn";
}
- elsif (-x "/opt/csw/bin/pkg-get" || &has_command("pkg-get")) {
+ elsif (-x "/opt/csw/bin/pkg-get" || &has_command("pkg-get") ||
+ -x "/opt/csw/bin/pkgutil" || &has_command("pkgutil")) {
$update_system = "csw";
}
elsif (&has_command("urpmi")) {