Commit b7a52169 authored by Paul Cammish's avatar Paul Cammish
Browse files

Remove extra packages after update

parent bc356496
......@@ -158,6 +158,7 @@ install:upgrade:
- chmod -R 664 /repo ; chmod -R +X /repo
- echo "deb file:/repo stretch main" > /etc/apt/sources.list.d/local.list
- apt-get -qq update; apt-get -y --allow-unauthenticated upgrade
- apt-get autoremove
- run-parts --verbose --exit-on-error autotest/test.d
- dpkg -l 'sympl*'
variables:
......
......@@ -163,11 +163,7 @@ echo "roundcube-core roundcube/mysql/app-pass password" | debconf-set-selections
# Run sympl-filesystem-security to enforce permissions
sympl-filesystem-security
echo 'I: Checking for deprecated sympl packages...'
if dpkg -l sympl-common > /dev/null ; then echo Found sympl-common. Removing:; apt-get -qq -y remove sympl-common; fi
# Create htop defaults
if [ ! -f /home/sympl/.config/htop/htoprc ]; then
mkdir -p /home/sympl/.config/htop/
echo "hide_threads=0
......
......@@ -28,7 +28,7 @@ Unattended-Upgrade::Mail "root";
Unattended-Upgrade::MailOnlyOnError "true";
//
// Don't remove things.
// Remove old dependencies which are no longer needed.
//
Unattended-Upgrade::Remove-Unused-Dependencies "false";
Unattended-Upgrade::Remove-Unused-Dependencies "true";
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment