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=f03db63621af5d9109ebbb5d2e51347acf69a3e4 commit f03db63621af5d9109ebbb5d2e51347acf69a3e4 Author: Guillem Jover <[email protected]> AuthorDate: Thu May 22 10:38:24 2025 +0200 debian: Use local keyword for function scoped variable in maintscript --- debian/dselect.postrm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/dselect.postrm b/debian/dselect.postrm index 88c42c3e2..c85dc2ace 100644 --- a/debian/dselect.postrm +++ b/debian/dselect.postrm @@ -5,7 +5,7 @@ set -e # Remove dselect methods state. purge_state() { - admindir=${DPKG_ADMINDIR:-/var/lib/dpkg} + local admindir=${DPKG_ADMINDIR:-/var/lib/dpkg} rm -f $admindir/cmethopt 2>/dev/null for method in file ftp mnt media; do -- Dpkg.Org's dpkg

