OSSP CVS Repository

ossp - Check-in [4654]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 4654
Date: 2004-Jul-28 15:37:48 (local)
2004-Jul-28 13:37:48 (UTC)
User:thl
Branch:
Comment: quick hack to support OpenPKG 2.x (breaking OpenPKG 1.x)
Tickets:
Inspections:
Files:
ossp-pkg/snmpdx/snmpdx.d/swOp.pm      1.7 -> 1.8     1 inserted, 1 deleted

ossp-pkg/snmpdx/snmpdx.d/swOp.pm 1.7 -> 1.8

--- swOp.pm      2003/10/21 18:13:17     1.7
+++ swOp.pm      2004/07/28 13:37:48     1.8
@@ -38,7 +38,7 @@
 
     #   query details via rpm(1)
     my $out = $self->{-ctx}->{-sys}->run(
-        "rpm -qa --qf '[%{NAME} %{VERSION} %{RELEASE} %{BUILDTIME} %{INSTALLTIME}\\n]'", "10m");
+        "openpkg rpm -qa --qf '[%{NAME} %{VERSION} %{RELEASE} %{BUILDTIME} %{INSTALLTIME}\\n]'", "10m");
     return if ($out->{-stdout} eq '');
 
     #   parse details into internal structure

CVSTrac 2.0.1