diff options
author | Sergey Nazaryev <sergey@nazaryev.ru> | 2020-08-27 19:28:44 +0300 |
---|---|---|
committer | Sergey Nazaryev <sergey@nazaryev.ru> | 2020-08-27 19:28:44 +0300 |
commit | 57665651a9b26361abbb70db14c50bc1d8bba611 (patch) | |
tree | 3f5e1fbbdb87ef52f07756a0c358b794a1f67256 | |
parent | c53f5bc2a9a904d25ee6210d908cd2e8dd07e284 (diff) | |
download | dotfiles-57665651a9b26361abbb70db14c50bc1d8bba611.zip dotfiles-57665651a9b26361abbb70db14c50bc1d8bba611.tar.gz dotfiles-57665651a9b26361abbb70db14c50bc1d8bba611.tar.bz2 |
install.sh: Use command -v instead of type
-rwxr-xr-x | install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -76,7 +76,7 @@ e.g. install_dotfiles \"bash xterm\" \"/etc/profile\" \"\$HOME/.bashrc\"\n" local ret=0 for app in $apps; do - type "$app" >/dev/null 2>&1 || ret=$? + command -v "$app" >/dev/null 2>&1 || ret=$? if [ $ret -ne 0 ]; then info '>> %s is not found on this server. Skipping %s...\n' \ "$app" "$srcpath" |