diff options
Diffstat (limited to 'scripts/install-system')
-rw-r--r-- | scripts/install-system | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/install-system b/scripts/install-system index 20b9f6a3..625cea73 100644 --- a/scripts/install-system +++ b/scripts/install-system @@ -1185,6 +1185,12 @@ progress_indicator () { ##### Main ## + +if [ ! -d /live/image -o -w /live/image ]; then + echo "install-system can only be run from livecd" + exit 1 +fi + # clean up existing log files if [ -f $INSTALL_LOG.old ]; then rm -f $INSTALL_LOG.old |