Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add get_install_signature() method patch from Andrew Ruthven

  • Loading branch information...
commit 91dbf641b0425d2310671d15a99a746caf301b15 1 parent 9961bf8
Grant McLean authored
3  plugins/InstallManager/Changes
View
@@ -1,5 +1,8 @@
Revision history for App-BCVI-InstallManager
+1.02 2010-09-07
+ - add get_install_signature() method (patch from Andrew Ruthven)
+
1.01 2010-06-05
- add sub option to list installed hosts
- add sub option to remove host from list
11 plugins/InstallManager/lib/App/BCVI/InstallManager.pm
View
@@ -7,7 +7,7 @@ use Digest::MD5;
use Fcntl;
use SDBM_File;
-our $VERSION = '1.01';
+our $VERSION = '1.02';
my($source_signature, %sig_db, $db_file);
@@ -99,6 +99,15 @@ sub set_install_signature {
}
+sub get_install_signature {
+ my($self, $host) = @_;
+ $self->tie_install_sig_db();
+ my $sig = $sig_db{$host};
+ $self->untie_install_sig_db();
+ return $sig;
+}
+
+
sub all_install_signatures {
my($self) = @_;
$self->tie_install_sig_db();
Please sign in to comment.
Something went wrong with that request. Please try again.