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

commit ecba20a8f61b527e36d236a2dd61cd84b1e162b2
Author: Guillem Jover <[email protected]>
AuthorDate: Sun Sep 14 20:07:54 2025 +0200

    dselect: Use HERE document instead of multi-line string in method script
    
    Changelog: internal
---
 dselect/methods/media/install.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dselect/methods/media/install.sh b/dselect/methods/media/install.sh
index 5965625b4..8fb2f91d1 100755
--- a/dselect/methods/media/install.sh
+++ b/dselect/methods/media/install.sh
@@ -92,7 +92,7 @@ while true; do
        die "internal error - no package" if length($package) == 0;
        die "internal error - no filename" if not @filename;
        if ($medium && ($medium ne $thisdisk)) {
-               print "
+               print <<"INFO";
 
 This is
     $thisdisk
@@ -100,7 +100,7 @@ However, $package is expected on disc:
     $medium
 Please change the discs and press <RETURN>.
 
-";
+INFO
                exit(1);
        }
        @invoke = (); $| =1;

-- 
Dpkg.Org's dpkg

Reply via email to