This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=387c13c453902448965ea842dc0cdb861c538bac

commit 387c13c453902448965ea842dc0cdb861c538bac
Author: Guillem Jover <[email protected]>
AuthorDate: Tue Nov 1 22:13:33 2022 +0100

    dselect: Unconditionally load perl modules included in perl-base
    
    In Debian and derivatives where the perl distribution is split into
    a perl-base package which is always guaranteed to be installed, and a
    perl-modules and perl packages, which are not, we do not need to
    conditionally load these modules, as they will always be installed.
    
    On other systems, when perl is installed these modules will always be
    present so this change should not make any difference.
    
    Changelog: internal
---
 dselect/methods/ftp/install.pl | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dselect/methods/ftp/install.pl b/dselect/methods/ftp/install.pl
index 9966e7a5d..4ad7e7b74 100755
--- a/dselect/methods/ftp/install.pl
+++ b/dselect/methods/ftp/install.pl
@@ -19,11 +19,12 @@
 use strict;
 use warnings;
 
+use File::Path qw(make_path remove_tree);
+use File::Basename;
+
 eval q{
     pop @INC if $INC[-1] eq '.';
     use Net::FTP;
-    use File::Path qw(make_path remove_tree);
-    use File::Basename;
     use File::Find;
     use Data::Dumper;
 };

-- 
Dpkg.Org's dpkg

Reply via email to