From 126dfe2e2ce38711551adeab0e8f231cfc4c98e4 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Sun, 4 Aug 2024 21:38:22 +0200 Subject: Removing unused binaries MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- install.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index 1d54850..d9ff512 100755 --- a/install.sh +++ b/install.sh @@ -21,17 +21,17 @@ set -e binaries=(git curl vim emacs) for bin in "${binaries[@]}"; do - if ! [ -x "$(command -v ${bin})" ]; then - echo "Error: the binary '${bin}' is not installed." >&2 - exit 1 - fi + if ! [ -x "$(command -v ${bin})" ]; then + echo "Error: the binary '${bin}' is not installed." >&2 + exit 1 + fi done ## # Main procedure: link as many files as possible. ary=(.git .gitignore .gitmodules LICENSE *.gitignore *.yml *.org install.sh - update.sh .emacs.d .config .gnupg Images .i3 .i3status.conf) + update.sh .emacs.d .config .gnupg Images .i3 .i3status.conf README.md) ignore="-name ${ary[0]}" for i in "${ary[@]:1:${#ary[@]}}"; do ignore+=" -or -name $i" @@ -88,7 +88,7 @@ fi # Get git completiom right. if ! [ -f "${HOME:?}/.git-prompt.sh" ]; then - curl -o "${HOME:?}/.git-prompt.sh" https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh + curl -o "${HOME:?}/.git-prompt.sh" https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh fi # Initialize Vim plugins. -- cgit v1.2.3