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=9ef7bce9736125fd22bfb2d63869ecd1d3b228e7

commit 9ef7bce9736125fd22bfb2d63869ecd1d3b228e7 (HEAD -> main)
Author: Guillem Jover <[email protected]>
AuthorDate: Fri Mar 24 00:04:46 2023 +0100

    debian: Fix removal of file method state directory on purge
    
    The method got renamed, but the cleanup on purge was missed.
    
    Fixes: commit 43c95774959d7a20f564eb8fcd4a2ebde01d68ab
---
 debian/dselect.postrm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/dselect.postrm b/debian/dselect.postrm
index 8fd119171..88c42c3e2 100644
--- a/debian/dselect.postrm
+++ b/debian/dselect.postrm
@@ -8,7 +8,7 @@ purge_state() {
   admindir=${DPKG_ADMINDIR:-/var/lib/dpkg}
 
   rm -f $admindir/cmethopt 2>/dev/null
-  for method in disk ftp mnt media; do
+  for method in file ftp mnt media; do
     rm -rf $admindir/methods/$method/* 2>/dev/null
   done
 }

-- 
Dpkg.Org's dpkg

Reply via email to