diff --git a/neovim.sh b/neovim.sh index 1aa9414..f2e2da3 100644 --- a/neovim.sh +++ b/neovim.sh @@ -149,8 +149,14 @@ check "Compiled $PACKAGE from source" line - echo_pkg install - $_sudo make install + # echo_pkg install + spin "Installing $PACKAGE" + if run --err err $_sudo make install; then + check "$PACKAGE installed!" + else + thorw "Installation of $PACKAGE has failed!" + echo_error "${err:-}" + fi else echo_error "${err:-}" exit 1