From 7debcd465b00af6305bf796e3fedc350a204c603 Mon Sep 17 00:00:00 2001
From: Micah Anderson <micah@riseup.net>
Date: Wed, 4 Oct 2006 23:38:30 +0000
Subject: [PATCH] added purged packages to dpkg --get-selections

---
 ChangeLog    | 1 +
 handlers/sys | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index bc8a50d..db0931d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -63,6 +63,7 @@ version 0.9.4 -- unreleased
 	sys:
 	 . Many more system checks were added, thanks to Petr Kl�ma
 	 . Added warning if no devices were found (thanks Ranier Zocholl)
+	 . Enhanced debian package selections to include purged packages (Thanks Tom Hoover)
 	ldap:
 	 . Compress now happens in-line to save some disk space (Closes: #370778)
 	makecd:
diff --git a/handlers/sys b/handlers/sys
index a8c8771..3c04365 100755
--- a/handlers/sys
+++ b/handlers/sys
@@ -37,7 +37,7 @@ if [ $os = "debian" ]
 then
    getconf packagesfile /var/backups/dpkg-selections.txt
    getconf packagemgr   `which dpkg`
-   getconf packagemgroptions " --get-selections"
+   getconf packagemgroptions " --get-selections \*"
 elif [ $os = "redhat" ]
 then
    getconf packagesfile  /var/backups/rpmpackages.txt 
-- 
GitLab