Fix install script again

This commit is contained in:
Sam A. 2022-11-12 17:07:17 +01:00
parent 3bd91f58e5
commit 5c536931b2
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -4,7 +4,6 @@ cd -P -- "$(readlink -e "$(dirname "$0")")" || exit 255
echo "=> Checking dependencies..." echo "=> Checking dependencies..."
command -v stow >/dev/null 2>&1 || { echo "Please install GNU Stow!"; exit 1; } command -v stow >/dev/null 2>&1 || { echo "Please install GNU Stow!"; exit 1; }
LC_ALL="C"
sleep 0.5 sleep 0.5
echo "=> Determining OS..." echo "=> Determining OS..."
@ -35,7 +34,7 @@ for pkg in "$@"; do
[ "$pkg" = "scripts" ] && DASH=1 && mkdir -p "$HOME/.local/bin" [ "$pkg" = "scripts" ] && DASH=1 && mkdir -p "$HOME/.local/bin"
[ "$pkg" = "nvim" ] && NVIM=1 [ "$pkg" = "nvim" ] && NVIM=1
stow -t "$HOME" --ignore="README.md" "$pkg" LC_ALL="C" stow -t "$HOME" --ignore="README.md" "$pkg"
done done
if [ -n "$ZSH" ]; then if [ -n "$ZSH" ]; then