pf-tools commit: r833 [ccaillet-guest] - /branches/next-gen/lib/PFTools/Update.pm
parmelan-guest at users.alioth.debian.org
parmelan-guest at users.alioth.debian.org
Mon Aug 23 09:29:26 UTC 2010
Author: ccaillet-guest
Date: Mon Aug 23 09:29:25 2010
New Revision: 833
URL: http://svn.debian.org/wsvn/pf-tools/?sc=1&rev=833
Log:
Removing dead code
Modified:
branches/next-gen/lib/PFTools/Update.pm
Modified: branches/next-gen/lib/PFTools/Update.pm
URL: http://svn.debian.org/wsvn/pf-tools/branches/next-gen/lib/PFTools/Update.pm?rev=833&op=diff
==============================================================================
--- branches/next-gen/lib/PFTools/Update.pm (original)
+++ branches/next-gen/lib/PFTools/Update.pm Mon Aug 23 09:29:25 2010
@@ -64,11 +64,6 @@
my $STARTTIME = time();
my $APT_UPDATE = 1;
-# Fonctions utilisees dans les fichiers de conf
-
-my %DEPENDS;
-my %FUNCTIONS;
-
sub Get_depends_for_action ($$$$) {
my ( $action, $ref_section, $dest, $options ) = @_;
@@ -90,9 +85,6 @@
elsif ( $action eq "addlink" ) {
Addlink_depends ( $ref_section, $dest, $options );
}
-# elsif ( $DEPENDS{$action} ) {
-# $DEPENDS{$action}->( $ref_section, $dest, $options );
-# }
}
sub Exec_action ($$$$$$) {
@@ -116,7 +108,6 @@
return Addlink_action ( $ref_section, $dest, $options, $hash_subst, $global_config ) if ( $action eq "addlink" );
return Removefile_action ( $ref_section, $dest, $options, $hash_subst, $global_config ) if ( $action eq "removefile" );
return Removedir_action ( $ref_section, $dest, $options, $hash_subst, $global_config ) if ( $action eq "removedir" );
-# return $FUNCTIONS{$action}->( $ref_section, $dest, $options, $hash_subst, $global_config );
}
sub Trie_prio {
More information about the pf-tools-commits
mailing list