X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=remaster%2Fgrml-live-remaster;h=9d62cf7f407b51f68e34ff3b6ce05d6822190cfe;hp=a42a18ea13ababf694d0a554f7635e5836fb1ff2;hb=ad023126c30e07f554fa8c7d8f5735fa739de23e;hpb=1c5a0e78d19a8e881294e5b5e06d50d0e60613f6 diff --git a/remaster/grml-live-remaster b/remaster/grml-live-remaster index a42a18e..9d62cf7 100755 --- a/remaster/grml-live-remaster +++ b/remaster/grml-live-remaster @@ -4,7 +4,6 @@ # Authors: grml-team (grml.org), (c) Michael Schierl , (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2 or any later version. -# Latest change: Sun Feb 24 14:23:27 CET 2008 [mika] ################################################################################ # DISCLAIMER: # this script currently lacks LOTS of error checking code... any help welcome... @@ -13,6 +12,7 @@ set -e # exit on any error VERSION='0.0.2' +GRML_LIVE_EDITOR=${VISUAL:-${EDITOR:-vi}} # source core functions {{{ . /etc/grml/lsb-functions @@ -69,7 +69,7 @@ for i in dev proc root sys tmp; do umount /remaster/chroot/$i done -$EDITOR /remaster/msg +${GRML_LIVE_EDITOR} /remaster/msg [ -d /remaster/iso ] || mkdir /remaster/iso