diff --git a/install.sh b/install.sh index 1146bc0d..1ad3d432 100755 --- a/install.sh +++ b/install.sh @@ -19,13 +19,19 @@ function link() { # update/clone repositories [[ ! -d "dracula-mc" ]] && git clone "https://github.com/dracula/midnight-commander.git" dracula-mc ( - cd dracula-mc + cd dracula-mc || ( + echo ":: Error: Can't cd into dracula-mc" + exit 1 + ) git pull ) [[ ! -d "jstmbash" ]] && git clone "https://git.staropensource.de/JeremyStarTM/jstmbash.git" jstmbash ( - cd jstmbash + cd jstmbash || ( + echo ":: Error: Can't cd into jstmbash" + exit 1 + ) git pull )