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=99efdcb509389064515c889447a26b5d75bfcca0 commit 99efdcb509389064515c889447a26b5d75bfcca0 (HEAD -> main) Author: Guillem Jover <[email protected]> AuthorDate: Sat Apr 9 14:43:14 2022 +0200 debian: Remove useless [] around tr sets These are not harmful, as they get remapped as is, but are useless in this context. Warned-by: shellcheck --- debian/dpkg.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/dpkg.postinst b/debian/dpkg.postinst index d17a9aa03..ac2ad079a 100644 --- a/debian/dpkg.postinst +++ b/debian/dpkg.postinst @@ -15,7 +15,7 @@ get_vendor() local vendor if [ -e "$origin" ]; then - vendor=$(sed -ne 's/^Vendor: *\([^ ]\+\) */\1/p' "$origin" | tr '[A-Z]' '[a-z]') + vendor=$(sed -ne 's/^Vendor: *\([^ ]\+\) */\1/p' "$origin" | tr A-Z a-z) fi echo "${vendor:-default}" -- Dpkg.Org's dpkg

