added purged packages to dpkg --get-selections
[matthijs/upstream/backupninja.git] / handlers / sys
index a8c8771ff59e536f4c8ce0fbfab8eccda870713c..3c04365722c6d8d20901391b6f6642571bf7f840 100755 (executable)
@@ -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