diff --git a/install.sh b/install.sh index 6d761df2..fb54590f 100755 --- a/install.sh +++ b/install.sh @@ -13,7 +13,10 @@ elif [[ $d == "Arch" ]]; then fi p i stow - -# Link dotfile home to $HOME -echo -e "${GREEN}[+] Symlinking dotfiles...${ENDCOLOR}" -stow -v -t $HOME home --adopt +if [[ $? == 0 ]]; then + # Link dotfile home to $HOME + echo -e "${GREEN}[+] Symlinking dotfiles...${ENDCOLOR}" + stow -v -t $HOME home --adopt +else + echo -e "${YELLOW}[E] Installation not finished. Reboot your system and run the script again.${ENDCOLOR}" +fi