summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2017-05-22 11:56:39 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2017-06-03 18:46:20 +0000
commitf3777cefa10e7d9e04c9d0e709a21dc566530a48 (patch)
tree607d6fe4e20cf78d3f7a09d0bb53d7ab470611f2 /share
parentAdding upstream version 20170510. (diff)
downloadopen-infrastructure-compute-tools-f3777cefa10e7d9e04c9d0e709a21dc566530a48.tar.xz
open-infrastructure-compute-tools-f3777cefa10e7d9e04c9d0e709a21dc566530a48.zip
Adding upstream version 20170522.upstream/20170522
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'share')
-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"