summaryrefslogtreecommitdiffstats
path: root/share/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2017-05-22 11:56:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2017-06-03 18:46:49 +0000
commitf9fe9773ec1873b9476eda0c4d374cd286b085eb (patch)
treedbf6a76a14967cb2a8d0cce195865011ced74785 /share/scripts
parentReleasing debian version 20170510-1. (diff)
downloadopen-infrastructure-compute-tools-f9fe9773ec1873b9476eda0c4d374cd286b085eb.tar.xz
open-infrastructure-compute-tools-f9fe9773ec1873b9476eda0c4d374cd286b085eb.zip
Merging upstream version 20170522.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'share/scripts')
-rwxr-xr-xshare/scripts/debconf10
1 files changed, 0 insertions, 10 deletions
diff --git a/share/scripts/debconf b/share/scripts/debconf
index dee4dcd..c90e851 100755
--- a/share/scripts/debconf
+++ b/share/scripts/debconf
@@ -187,16 +187,6 @@ Cleanup_system ()
Chroot "${DIRECTORY}" "apt-get --yes --purge autoremove"
Chroot "${DIRECTORY}" "apt-get clean"
- CRUFT="$(Chroot "${DIRECTORY}" "dpkg --get-selections | awk '/deinstall$/ { print $1 }'")"
-
- if [ -n "${CRUFT}" ]
- then
- for PACKAGE in ${CRUFT}
- do
- Chroot "${DIRECTORY}" "apt-get purge ${PACKAGE}"
- done
- fi
-
# Cleanup
rm -f "${DIRECTORY}/etc/dpkg/dpkg.cfg.d/container-tools"
rm -f "${DIRECTORY}/usr/sbin/policy-rc.d"