1
0
mirror of https://github.com/bertptrs/vimconfig.git synced 2025-12-25 12:30:32 +01:00

Improve installation script.

This commit is contained in:
Bert Peters
2016-06-15 14:53:32 +02:00
parent 9fe937d764
commit b15ed71325

View File

@@ -34,8 +34,8 @@ cd $DIR && echo "Current working directory is ${DIR}"
echo -n "Downloading dependencies... "
git submodule init &> /dev/null && git submodule update &> /dev/null \
|| $(echo "Failed."; echo "Submodule installation failed."; exit 3)
git submodule update --init &> /dev/null \
|| (echo "Failed."; echo "Submodule installation failed."; exit 3)
echo "done."
@@ -46,10 +46,8 @@ installIfAvailable zsh
installIfAvailable sqlite3 sqlite
installIfAvailable tmux
installIfAvailable systemctl systemd
# Install all XDG compatible packages
echo "Installing remaining packages…"
stow -t $HOME pacman git
installIfAvailable pacman
installIfAvailable git
if commandAvailable gsettings; then
echo "Installing gsettings preferences…"