Move CKAN package cleanup to 99-cleanup.sh

This commit is contained in:
Disassembler 2017-11-19 10:34:10 +01:00
parent c8cf753d92
commit 4c6d39fded
2 changed files with 1 additions and 5 deletions

View File

@ -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

View File

@ -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