Add reboot request if stow fails to install
This commit is contained in:
@@ -13,7 +13,10 @@ elif [[ $d == "Arch" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
p i stow
|
p i stow
|
||||||
|
if [[ $? == 0 ]]; then
|
||||||
# Link dotfile home to $HOME
|
# Link dotfile home to $HOME
|
||||||
echo -e "${GREEN}[+] Symlinking dotfiles...${ENDCOLOR}"
|
echo -e "${GREEN}[+] Symlinking dotfiles...${ENDCOLOR}"
|
||||||
stow -v -t $HOME home --adopt
|
stow -v -t $HOME home --adopt
|
||||||
|
else
|
||||||
|
echo -e "${YELLOW}[E] Installation not finished. Reboot your system and run the script again.${ENDCOLOR}"
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user