From 567fecd50f45bd0d7f3c285d93a5e8d12c10cfcb Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 6 Sep 2019 15:41:46 -0400 Subject: [PATCH] bin/doctor: mention minimum supported version in error msg --- bin/doom-doctor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/doom-doctor b/bin/doom-doctor index a3f54e98a..eff7803c7 100755 --- a/bin/doom-doctor +++ b/bin/doom-doctor @@ -1,7 +1,7 @@ #!/usr/bin/env sh ":"; command -v emacs >/dev/null || { >&2 echo "Emacs isn't installed"; exit 1; } # -*-emacs-lisp-*- ":"; VERSION=$(emacs --version | head -n1) -":"; case $VERSION in *\ 2[0-2].[0-1].[0-9]) echo "You're running $VERSION"; echo "That version is too old to run the doctor. Check your PATH"; echo; exit 2 ;; esac +":"; case $VERSION in *\ 2[0-2].[0-1].[0-9]) echo "You're running $VERSION"; echo "That version is too old to run the doctor (25.3 minimum). Check your PATH"; echo; exit 2 ;; esac ":"; exec emacs --quick --script "$0"; exit 0 ;; The Doom doctor is essentially one big, self-contained elisp shell script