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

commit d9af47e56aa803dc8be0e834ec55cc1f00989fc1
Author: Guillem Jover <guil...@debian.org>
AuthorDate: Sat Nov 20 01:16:26 2021 +0100

    dselect: Remove bashism from update script in multicd method
    
    Warned-by: lintian
---
 dselect/methods/multicd/update.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dselect/methods/multicd/update.sh 
b/dselect/methods/multicd/update.sh
index 0cbcf8527..50453321a 100755
--- a/dselect/methods/multicd/update.sh
+++ b/dselect/methods/multicd/update.sh
@@ -54,7 +54,9 @@ fi
 
 xit=1
 trap '
-  rm -f packages-{main,ctb,nf,lcl}
+  for area in main ctb nf lcl; do
+    rm -f packages-$area
+  done
   if [ -n "$umount" ]; then
     umount "$umount" >/dev/null 2>&1
   fi

-- 
Dpkg.Org's dpkg

Reply via email to