mirror of
https://github.com/bertptrs/vimconfig.git
synced 2026-03-27 00:30:36 +01:00
Improve install and uninstall.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
||||
cd "$( dirname "${BASH_SOURCE[0]}" )"
|
||||
|
||||
commandAvailable() {
|
||||
command -v $1 >/dev/null
|
||||
@@ -30,8 +30,6 @@ if ! commandAvailable stow; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cd $DIR && echo "Current working directory is ${DIR}"
|
||||
|
||||
echo -n "Downloading dependencies... "
|
||||
|
||||
git submodule update --init &> /dev/null \
|
||||
@@ -39,8 +37,6 @@ git submodule update --init &> /dev/null \
|
||||
|
||||
echo "done."
|
||||
|
||||
|
||||
|
||||
installIfAvailable vim
|
||||
installIfAvailable zsh
|
||||
installIfAvailable sqlite3 sqlite
|
||||
|
||||
Reference in New Issue
Block a user