mirror of
https://github.com/bertptrs/vimconfig.git
synced 2025-12-25 20:40:32 +01:00
Improve installation script.
This commit is contained in:
10
install.sh
10
install.sh
@@ -34,8 +34,8 @@ cd $DIR && echo "Current working directory is ${DIR}"
|
|||||||
|
|
||||||
echo -n "Downloading dependencies... "
|
echo -n "Downloading dependencies... "
|
||||||
|
|
||||||
git submodule init &> /dev/null && git submodule update &> /dev/null \
|
git submodule update --init &> /dev/null \
|
||||||
|| $(echo "Failed."; echo "Submodule installation failed."; exit 3)
|
|| (echo "Failed."; echo "Submodule installation failed."; exit 3)
|
||||||
|
|
||||||
echo "done."
|
echo "done."
|
||||||
|
|
||||||
@@ -46,10 +46,8 @@ installIfAvailable zsh
|
|||||||
installIfAvailable sqlite3 sqlite
|
installIfAvailable sqlite3 sqlite
|
||||||
installIfAvailable tmux
|
installIfAvailable tmux
|
||||||
installIfAvailable systemctl systemd
|
installIfAvailable systemctl systemd
|
||||||
|
installIfAvailable pacman
|
||||||
# Install all XDG compatible packages
|
installIfAvailable git
|
||||||
echo "Installing remaining packages…"
|
|
||||||
stow -t $HOME pacman git
|
|
||||||
|
|
||||||
if commandAvailable gsettings; then
|
if commandAvailable gsettings; then
|
||||||
echo "Installing gsettings preferences…"
|
echo "Installing gsettings preferences…"
|
||||||
|
|||||||
Reference in New Issue
Block a user