From: Stuart Prescott Date: Mon, 10 Oct 2011 15:04:52 +0000 (+0100) Subject: Check that mr is installed before using it X-Git-Url: https://git.toastfreeware.priv.at/gregoa/movein.git/commitdiff_plain/4b6fb41e5fa26b03ad20ede719af495b695d3344?hp=250102fa954a17e9399f6aa7edf8c8186ca6b3ef Check that mr is installed before using it --- diff --git a/movein b/movein index f236b14..7adf333 100755 --- a/movein +++ b/movein @@ -96,6 +96,11 @@ init() { exit 1 fi + if ! which mr > /dev/null; then + echo '"mr" not found in the PATH' + exit 1 + fi + echo -n "git server hostname? [git.vireo.org] " read GIT_HOST if [ -z "$GIT_HOST" ]; then