# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2.
-# Latest change: Sam Okt 06 18:01:53 CEST 2007 [mika]
+# Latest change: Mit Mär 26 22:44:03 CET 2008 [mika]
################################################################################
# http://www.debian.org/releases/stable/i386/index.html.en
set -e # exit on any error
-VERSION='0.11'
+VERSION='0.17'
# source core functions {{{
. /etc/grml/lsb-functions
shift
GROOT=$1
;;
- --release)
+ -r|--release)
shift
RELEASE=$1
;;
fi
# make sure we have the right syntax when using an iso image
-case $ISO in
- file*) # do nothing
- ;;
- *)
- ISO=file:$1
- ;;
-esac
+if [ -n "$ISO" ] ; then
+ case $ISO in
+ file*) # do nothing
+ ;;
+ *)
+ ISO=file:$1
+ ;;
+ esac
+fi
ISODIR=${ISO##file:}
ISODIR=${ISODIR%%/}
fi
## END OF FILE #################################################################
-# vim: ai tw=100 expandtab foldmethod=marker
+# vim: ai tw=100 expandtab foldmethod=marker shiftwidth=3