summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfig/chroot_local-hooks/03-lxde-fixes (renamed from config/chroot_local-hooks/lxde-fixes)8
1 files changed, 7 insertions, 1 deletions
diff --git a/config/chroot_local-hooks/lxde-fixes b/config/chroot_local-hooks/03-lxde-fixes
index ddea012..0428a7e 100755
--- a/config/chroot_local-hooks/lxde-fixes
+++ b/config/chroot_local-hooks/03-lxde-fixes
@@ -1,6 +1,12 @@
-#!/bin/bash
+#!/bin/sh
+
if [ -x /usr/sbin/lightdm ]; then
# dirty hack kanotix wallpaper on login-screen
echo "background=/usr/share/images/kanotix-starrise/kanotix-starrise.png" >>/etc/lightdm/lightdm-gtk-greeter.conf
sed -i s/Industrial/Clearlooks/ /etc/skel/.gtkrc-2.0
+
+ # on lxde delete packages to reduce image-size
+ apt-get purge --yes aptitude aptitude-common
+ apt-get purge --yes vim vim-common vim-runtime
+
fi