diff --git a/zz-cleanup.sh b/zz-cleanup.sh index a45b3d9..30ca956 100755 --- a/zz-cleanup.sh +++ b/zz-cleanup.sh @@ -1,7 +1,8 @@ #!/bin/bash # Remove packages not necessary for release -apt-get -y purge bash-completion file gcc git htop libpq-dev python-dev openssh-server tree uuid-runtime vim +apt-get -y purge bash-completion file gcc git htop openssh-server tree uuid-runtime vim +dpkg -l | awk '{print $2}' | grep '\-dev$' | apt-get -y purge apt-get -y --purge autoremove # Clean package cache