summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks/03-lxde-fixes
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-hooks/03-lxde-fixes')
-rwxr-xr-xconfig/chroot_local-hooks/03-lxde-fixes5
1 files changed, 3 insertions, 2 deletions
diff --git a/config/chroot_local-hooks/03-lxde-fixes b/config/chroot_local-hooks/03-lxde-fixes
index c73f876..ac47bc0 100755
--- a/config/chroot_local-hooks/03-lxde-fixes
+++ b/config/chroot_local-hooks/03-lxde-fixes
@@ -14,8 +14,9 @@ if [ -x /usr/sbin/lightdm ]; then
# Industrial conflicts
sed -i s/Industrial/Clearlooks-Phenix/ /etc/skel/.gtkrc-2.0
- # on lxde delete packages to reduce image-size
+ # on lxde i386 delete packages to reduce image-size
+ if ! [ -d /lib/x86_64-linux-gnu ]; then
apt-get purge --yes aptitude aptitude-common
apt-get purge --yes vim vim-common vim-runtime
-
+ fi
fi