more cleanups
authorJohn P. Davis <zhen@gentoo.org>
Wed, 12 Nov 2003 00:29:19 +0000 (00:29 +0000)
committerJohn P. Davis <zhen@gentoo.org>
Wed, 12 Nov 2003 00:29:19 +0000 (00:29 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@80 d1e1f19c-881f-0410-ab34-b69fee027534

targets/livecd/livecd.sh

index 41d38c216ac3c87152ea4344ef03eeecec8e96a0..5407ebe49678e782775b25ffb93bd6b674153f49 100755 (executable)
@@ -1,12 +1,10 @@
 #!/bin/bash  
 # Copyright 1999-2003 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/livecd/Attic/livecd.sh,v 1.4 2003/11/11 15:01:12 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/livecd/Attic/livecd.sh,v 1.5 2003/11/12 00:29:19 zhen Exp $
 
 # Original work done by livewire@gentoo.org and drobbins@gentoo.org
-# Adapted to a catalyst plugin by zhen@gentoo.org
-
-# we need a specfile setup for this!!! there are a ton of options that need set.
+# Adapted to a catalyst plugin by zhen@gentoo.org and drobbins@gentoo.org
 
 #############################################################################################
 # Variables needed for livecd creation - make sure these get defined in the spec file          #
@@ -313,5 +311,18 @@ case $1 in
 
        enter)
                clst_CHROOT clst_chroot_path
+               exit 0
+       ;;
+
+       run)
+               exit 1
        ;;
 
+       pre_clean)
+               exit 1
+       ;;
+
+       clean)
+               chroot_clean
+               exit 0
+       ;;