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

commit adb464aaeb7563b2b76cf916ad70bfd1c68158d6
Author: Guillem Jover <[email protected]>
AuthorDate: Tue Sep 2 04:54:04 2025 +0200

    dselect: Remove unnecessary trailing semicolon in method scripts
    
    Changelog: internal
---
 dselect/methods/ftp/setup.pl     | 2 +-
 dselect/methods/ftp/update.pl    | 8 ++++----
 dselect/methods/media/install.sh | 6 ++++--
 3 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/dselect/methods/ftp/setup.pl b/dselect/methods/ftp/setup.pl
index e082bc74c..5332027e3 100755
--- a/dselect/methods/ftp/setup.pl
+++ b/dselect/methods/ftp/setup.pl
@@ -163,7 +163,7 @@ if($@) {
        print "$@\n";
     }
     $exit = 1;
-};
+}
 
 # output new vars file
 $CONFIG{done} = 1;
diff --git a/dselect/methods/ftp/update.pl b/dselect/methods/ftp/update.pl
index 283170c02..27ab50a85 100755
--- a/dselect/methods/ftp/update.pl
+++ b/dselect/methods/ftp/update.pl
@@ -49,8 +49,8 @@ if ($option eq 'manual') {
        } else {
            print "Could not find $fn, try again\n";
        }
-    };
-};
+    }
+}
 
 #print "vardir: $vardir, method: $method, option: $option\n";
 
@@ -164,7 +164,7 @@ foreach (@{$CONFIG{site}}) {
                    if (ref($ftp)) {
                      $ftp->abort();
                      $ftp->quit();
-                   };
+                   }
                    if (yesno ('y', "Transfer failed at $size: retry at once")) 
{
                         $ftp = do_connect(
                             ftpsite => $site->[0],
@@ -220,7 +220,7 @@ if($@) {
        print "FTP ERROR - $@\n";
     }
     $exit = 1;
-};
+}
 
 # Don't clear if nothing changed.
 if ($packages_modified) {
diff --git a/dselect/methods/media/install.sh b/dselect/methods/media/install.sh
index 8fb2f91d1..885a9de24 100755
--- a/dselect/methods/media/install.sh
+++ b/dselect/methods/media/install.sh
@@ -180,7 +180,8 @@ perl -MDpkg::Version -MDselect::Method::Media -e '
                } else {
                    $Installed{$status{Package}} = $status{Version} || "" ;
                }
-       }; }
+            }
+        }
        print "\nGot ", scalar keys %Installed, " installed/pending packages\n";
        print "Scanning available packages...";
        $line = 0;
@@ -206,7 +207,8 @@ perl -MDpkg::Version -MDselect::Method::Media -e '
                 next unless defined $avail{"X-Medium"};
                 ${Medium{$avail{"X-Medium"}}} or ${Medium{$avail{"X-Medium"}}} 
= [];
                 push @{${Medium{$avail{"X-Medium"}}}}, $avail{Package};
-       }; };
+            }
+        }
        print "\n";
 
        if (@_ = keys(%Medium)) {

-- 
Dpkg.Org's dpkg

Reply via email to