From 4c6d39fded48a3ab11414ca3e435167d0cd594eb Mon Sep 17 00:00:00 2001 From: Disassembler Date: Sun, 19 Nov 2017 10:34:10 +0100 Subject: [PATCH] Move CKAN package cleanup to 99-cleanup.sh --- 30-ckan.sh | 4 ---- 99-cleanup.sh | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/30-ckan.sh b/30-ckan.sh index 6df3b23..d084442 100755 --- a/30-ckan.sh +++ b/30-ckan.sh @@ -106,7 +106,3 @@ cp ${SOURCE_DIR}/ckan/etc/cron.d/ckan /etc/cron.d/ckan # Add portal application definition ${SOURCE_DIR}/basic/portal-app-manager.py ckan "/ckan/" "${CKAN_ADMIN_USER}" "${CKAN_ADMIN_PWD}" - -# Remove compilation dependencies -apt-get -y purge gcc libpq-dev python-dev -apt-get -y --purge autoremove diff --git a/99-cleanup.sh b/99-cleanup.sh index 463c620..e422d99 100755 --- a/99-cleanup.sh +++ b/99-cleanup.sh @@ -1,7 +1,7 @@ #!/bin/bash # Remove packages not necessary for release -apt-get -y purge bash-completion file git htop openssh-server tree vim +apt-get -y purge bash-completion file gcc git htop libpq-dev python-dev openssh-server tree vim apt-get -y --purge autoremove # Clean package cache