summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2020-12-30 13:43:08 +0100
committerHolger Paradies <retabell@gmx.de>2020-12-30 13:43:08 +0100
commit03a3a6222b4ccdf9a7ee61deb95053bc6e50c2c8 (patch)
tree58466ba4bbf7375eb3274f1677f5476ccab298e3
parent0011967c4feac8feb759f9f83d41034963ea8f18 (diff)
downloadacritoxinstaller-03a3a6222b4ccdf9a7ee61deb95053bc6e50c2c8.zip
acritoxinstaller-03a3a6222b4ccdf9a7ee61deb95053bc6e50c2c8.tar.gz
Additional cleanups
-rw-r--r--backend/modules/install_configure4
1 files changed, 4 insertions, 0 deletions
diff --git a/backend/modules/install_configure b/backend/modules/install_configure
index 50bca8f..ad5a543 100644
--- a/backend/modules/install_configure
+++ b/backend/modules/install_configure
@@ -112,6 +112,7 @@ function configure_target_purge_live_only_stuff()
# remove live-only-packages
chroot_it dpkg --purge \
acritoxinstaller \
+ acritoxinstaller-icons \
acritoxinstaller-kanotix \
kanotix-enable-persistent-live \
live-boot-initramfs-tools \
@@ -135,6 +136,9 @@ function configure_target_purge_live_only_stuff()
gfxoverlay \
zram &> /dev/null
+ # remove unused stuff
+ chroot_it apt-get autoremove --purge --yes
+
# remove kde-config-touchpad if no touchpad is available
[ "$(su "$FLL_LIVE_USER" -c "qdbus org.kde.synaptiks /modules/synaptiks org.kde.Synaptiks.isTouchpadAvailable")" = true ] && \
chroot_it dpkg --purge kde-config-touchpad