#!/bin/sh if test `id -u` -ne 0 then echo "$0 must be run as root." return fi if test -d test_environment then # Call this script that automatically unmounts the mount points too. ./destroy_environment fi if test -d clean_environment then echo "Removing clean_environment" rm -r clean_environment fi if test -d debootstrap then echo "Removing debootstrap" rm -r debootstrap fi if test -f debootstrap.tar.gz then echo "Removing debootstrap.tar.gz" rm debootstrap.tar.gz fi