From 46ebdb6fa13ffa8e749a7847e7cd605687786ea9 Mon Sep 17 00:00:00 2001 From: Holger Paradies Date: Sun, 21 Apr 2013 09:51:43 +0200 Subject: move-lxde-fixes-and-delete-packages-to-reduce-iso --- config/chroot_local-hooks/03-lxde-fixes | 12 ++++++++++++ config/chroot_local-hooks/lxde-fixes | 6 ------ 2 files changed, 12 insertions(+), 6 deletions(-) create mode 100755 config/chroot_local-hooks/03-lxde-fixes delete mode 100755 config/chroot_local-hooks/lxde-fixes diff --git a/config/chroot_local-hooks/03-lxde-fixes b/config/chroot_local-hooks/03-lxde-fixes new file mode 100755 index 0000000..0428a7e --- /dev/null +++ b/config/chroot_local-hooks/03-lxde-fixes @@ -0,0 +1,12 @@ +#!/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 diff --git a/config/chroot_local-hooks/lxde-fixes b/config/chroot_local-hooks/lxde-fixes deleted file mode 100755 index ddea012..0000000 --- a/config/chroot_local-hooks/lxde-fixes +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -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 -fi -- cgit v1.0