pf-tools commit: r825 [ccaillet-guest] - in /branches/next-gen: lib/PFTools/Update.pm sbin/update-config

parmelan-guest at users.alioth.debian.org parmelan-guest at users.alioth.debian.org
Thu Aug 12 21:45:55 UTC 2010


Author: ccaillet-guest
Date: Thu Aug 12 21:45:55 2010
New Revision: 825

URL: http://svn.debian.org/wsvn/pf-tools/?sc=1&rev=825
Log:
Small fix

Modified:
    branches/next-gen/lib/PFTools/Update.pm
    branches/next-gen/sbin/update-config

Modified: branches/next-gen/lib/PFTools/Update.pm
URL: http://svn.debian.org/wsvn/pf-tools/branches/next-gen/lib/PFTools/Update.pm?rev=825&op=diff
==============================================================================
--- branches/next-gen/lib/PFTools/Update.pm (original)
+++ branches/next-gen/lib/PFTools/Update.pm Thu Aug 12 21:45:55 2010
@@ -858,7 +858,7 @@
 	return Addfile_action ( $ref_section, $dest, $options, $hash_subst, $global_config ) if ( $action eq 'addfile' );
 	if ( $action eq "apt-get" || $action eq "installpkg" ) {
 		if ( $APT_UPDATE ) {
-			if ( ! Update_pkg_repository ( $pkg_type ) ) {
+			if ( ! Update_pkg_repository ( $options->{'pkg_type'} ) ) {
 				return 1;
 			}
 			$APT_UPDATE = 0;

Modified: branches/next-gen/sbin/update-config
URL: http://svn.debian.org/wsvn/pf-tools/branches/next-gen/sbin/update-config?rev=825&op=diff
==============================================================================
--- branches/next-gen/sbin/update-config (original)
+++ branches/next-gen/sbin/update-config Thu Aug 12 21:45:55 2010
@@ -83,6 +83,7 @@
     'noupdate',
     'quiet|q',
     'simul|s',
+	'pkg_type|p=s',
     'verbose|v',
     'config|c=s',
     'store=s',




More information about the pf-tools-commits mailing list