Browse Source

Update required Emacs version check

custom
Bozhidar Batsov 5 years ago
parent
commit
091c3e53a7
  1. 4
      utils/installer.sh

4
utils/installer.sh

@ -175,9 +175,9 @@ fi
### Check emacs version
emacs_version="$(emacs --version 2>/dev/null | sed -n 's/.*[^0-9.]\([0-9]*\.[0-9.]*\).*/\1/p;q' | sed 's/\..*//g')"
if [ "${emacs_version:-0}" -lt 24 ]
if [ "${emacs_version:-0}" -lt 25 ]
then
printf "$YELLOW WARNING:$RESET Prelude depends on emacs $RED 24$RESET !\n"
printf "$YELLOW WARNING:$RESET Prelude requires Emacs $RED 25$RESET or newer!\n"
fi
if [ -f "$HOME/.emacs" ]

Loading…
Cancel
Save