VERSION='0.0.2'
GRML_LIVE_EDITOR=${VISUAL:-${EDITOR:-vi}}
+if [ ! -d /etc/grml -o ! -d /live ]; then
+ echo "Error: $0 has to be run from a Grml live session. Exiting."
+ exit 1
+fi
+
# source core functions {{{
. /etc/grml/lsb-functions
. /etc/grml/script-functions
echo " first, because grml-live-remaster will need a lot ot RAM."
echo ""
echo "Please report bugs and feature requests: http://grml.org/bugs/"
- exit -1
+ exit 1
fi
if [ ! -d /remaster ]; then