diff --git a/install.sh b/install.sh index 281160a..0c79b41 100755 --- a/install.sh +++ b/install.sh @@ -32,6 +32,11 @@ check_sys_depend() { } install_vegvisir() { + if ! [ -d ".git" ] ; then + echo_err "Not in a git repository" + exit 1 + fi + if ! [ -d "vegvisir" ] ; then git submodule add https://codeberg.org/vegvisir/vegvisir fi