From 8bab81ed09d39ebcbbefb72c2db1eda1b05dc99c Mon Sep 17 00:00:00 2001 From: Andreas Loibl Date: Thu, 2 Sep 2010 15:34:55 +0200 Subject: removed leftover backup-file --- config/chroot_local-hooks/04-cleanup.orig | 36 ------------------------------- 1 file changed, 36 deletions(-) delete mode 100755 config/chroot_local-hooks/04-cleanup.orig diff --git a/config/chroot_local-hooks/04-cleanup.orig b/config/chroot_local-hooks/04-cleanup.orig deleted file mode 100755 index ca5ef0f..0000000 --- a/config/chroot_local-hooks/04-cleanup.orig +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh -#apt-get remove --yes --purge aptitude dselect nano vim-tiny libdiscover1 resolvconf -apt-get remove --yes --purge nano vim-tiny libdiscover1 resolvconf -/usr/sbin/remove-orphans || true -# Removing unused files -find . -name *~ | xargs rm -f -# Cleaning apt lists -rm -rf /var/lib/apt/lists -mkdir -p /var/lib/apt/lists/partial -# Cleaning apt cache -rm -rf /var/cache/apt -mkdir -p /var/cache/apt/archives/partial -# Truncating logs -for FILE in $(find /var/log/ -type f) -do - : > ${FILE} -done -# custom cleanup -rm -f /var/lib/apt/lists/* || true -rm -f /var/cache/apt/*.bin -dpkg --clear-avail -apt-cache gencaches -update-pciids || true -rm -f /usr/share/misc/pci.ids.* -update-usbids || true -rm -f /var/lib/usbutils/usb.ids.* -# Force old autologin -rm -rf /etc/default/kdm.d -# Some application defaults -update-alternatives --set pager /usr/bin/most || true -update-alternatives --set x-window-manager /usr/bin/openbox || true -update-alternatives --set x-window-manager /usr/bin/kwin || true -update-alternatives --set x-www-browser /usr/bin/iceweasel || true -update-alternatives --set x-session-manager /usr/bin/startlxde || true -update-alternatives --set x-session-manager /usr/bin/startkde || true -update-alternatives --set editor /usr/bin/mcedit-debian || true -- cgit v1.0