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=cf3949b53287cd8fd08a1a966c2cf966d7e98a9e

commit cf3949b53287cd8fd08a1a966c2cf966d7e98a9e
Author: Guillem Jover <[email protected]>
AuthorDate: Fri Sep 19 01:30:57 2025 +0200

    dselect: Do not use unusual delimiter for tr in method script
    
    Changelog: internal
---
 dselect/methods/ftp/install.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dselect/methods/ftp/install.pl b/dselect/methods/ftp/install.pl
index 0d9ced216..86f57913a 100755
--- a/dselect/methods/ftp/install.pl
+++ b/dselect/methods/ftp/install.pl
@@ -178,7 +178,7 @@ foreach my $site (@{$CONFIG{site}}) {
   $j = 0;
   foreach my $dist (@{$site->[2]}) {
     my $fn = $dist;
-    $fn =~ tr#/#_#;
+    $fn =~ tr{/}{_};
     $fn = "Packages.$site->[0].$fn";
     if (-f $fn) {
        print " $site->[0] $dist...\n";

-- 
Dpkg.Org's dpkg

Reply via email to