aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Ochotnicky <sochotnicky@gmail.com>2009-08-16 16:01:53 +0200
committerStanislav Ochotnicky <sochotnicky@gmail.com>2009-08-16 16:01:53 +0200
commit7e0f873e128f3fb59c2dd568ecef111414a4da0d (patch)
tree6bdd3ed2b14240f5c717129d67d41fbc9193f35a
parentUpdated installation instructions (diff)
downloadcollagen-7e0f873e128f3fb59c2dd568ecef111414a4da0d.tar.gz
collagen-7e0f873e128f3fb59c2dd568ecef111414a4da0d.tar.bz2
collagen-7e0f873e128f3fb59c2dd568ecef111414a4da0d.zip
Remove BASE_CHROOT.tar after modifications
-rwxr-xr-xutil/mktinderboxchroot.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/mktinderboxchroot.sh b/util/mktinderboxchroot.sh
index fd909f0..c096210 100755
--- a/util/mktinderboxchroot.sh
+++ b/util/mktinderboxchroot.sh
@@ -180,7 +180,7 @@ else
rm -rf --one-file-system "$BASE_CHROOT/etc/portage/"
mkdir -p "$BASE_CHROOT/etc/portage"
-
+
echo -n "Copying settings..."
cp -L /etc/resolv.conf "$BASE_CHROOT/etc"
cp -L /etc/make.conf "$BASE_CHROOT/etc"
@@ -193,6 +193,7 @@ if [ $MODIFY_BASE_CHROOT -eq 1 ];then
mount_all_dirs $BASE_CHROOT
chroot $BASE_CHROOT /bin/bash
umount_all_dirs $BASE_CHROOT
+ rm "$BASE_CHROOT.tar"
exit 0;
fi