summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2015-12-29 17:23:55 +0100
committerHolger Paradies <retabell@gmx.de>2015-12-30 14:21:15 +0100
commit40114e9c035c507434b1fd14e2b0ef2207be3d44 (patch)
tree8a48f5bd6a5ef06156af869271981db1eea63819
parent131f16e0ec53b4e5c3b0fd50c3b604529dd1c628 (diff)
downloadkanotix-40114e9c035c507434b1fd14e2b0ef2207be3d44.zip
kanotix-40114e9c035c507434b1fd14e2b0ef2207be3d44.tar.gz
lxde-fixes clean-up
-rwxr-xr-xconfig/chroot_local-hooks/03-lxde-fixes15
1 files changed, 6 insertions, 9 deletions
diff --git a/config/chroot_local-hooks/03-lxde-fixes b/config/chroot_local-hooks/03-lxde-fixes
index aec69b0..abdbaec 100755
--- a/config/chroot_local-hooks/03-lxde-fixes
+++ b/config/chroot_local-hooks/03-lxde-fixes
@@ -2,26 +2,23 @@
for file in /root/config/*; do [ -r $file ] && . $file; done
if [ -x /usr/bin/lxde-logout ]; then
- # dirty hack kanotix wallpaper on login-screen
- echo "background=/usr/share/images/kanotix-starrise/kanotix-starrise.png" >>/etc/lightdm/lightdm-gtk-greeter.conf
- # old kanotix icon in login
- if [ "$LB_DISTRIBUTION" = "wheezy" ]; then
- sed -i 's/computer/kanotix/' /usr/share/lightdm-gtk-greeter/greeter.ui
- fi
# Industrial conflicts
sed -i s/Industrial/Clearlooks-Phenix/ /etc/skel/.gtkrc-2.0
- # on lxde i386 wheezy delete packages to reduce image-size
+
if [ "$LB_DISTRIBUTION" = "wheezy" ]; then
+ # old kanotix icon in login
+ sed -i 's/computer/kanotix/' /usr/share/lightdm-gtk-greeter/greeter.ui
+ # dirty hack kanotix wallpaper on login-screen
+ echo "background=/usr/share/images/kanotix-starrise/kanotix-starrise.png" >>/etc/lightdm/lightdm-gtk-greeter.conf
+ # on lxde i386 wheezy delete packages to reduce image-size
if [ "$LB_ARCHITECTURE" = "i386" ]; then
apt-get purge --yes aptitude aptitude-common
apt-get purge --yes vim vim-common vim-runtime
- if [ "$LB_DISTRIBUTION" = "wheezy" ]; then
rm -rf /usr/lib/python3/dist-packages/devscripts
apt-get purge --yes devscripts python3 python3-minimal python3.2 python3.2-minimal
apt-get install --yes -t wheezy devscripts
- fi
fi
fi