Initial commit after creating the git repository.
[catalyst.git] / targets / stage4 / stage4-preclean-chroot.sh
old mode 100755 (executable)
new mode 100644 (file)
index 72efa35..8f2e894
@@ -1,7 +1,18 @@
 #!/bin/bash
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/stage4/stage4-preclean-chroot.sh,v 1.3 2005/12/19 15:36:02 wolf31o2 Exp $
 
-. /tmp/chroot-functions.sh
-#update_env_settings
+export RUN_DEFAULT_FUNCS="no"
+
+source /tmp/chroot-functions.sh
+
+update_env_settings
+show_debug
+
+if [ -n "${clst_DISTCC}" ]
+then
+       cleanup_distcc
+fi
+
+if [ -n "${clst_ICECREAM}" ]
+then
+       cleanup_icecream
+fi