diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2023-01-25 14:38:00 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2023-01-25 14:44:04 -0700 |
commit | 6c755535f99f246a017895763b384343f67f06d8 (patch) | |
tree | 285151ce0a2e6759a2bc2f2148ecc5c8c1cdba81 /bin | |
parent | b9401b2a988e4ed3d5fe472ed47cb75faf6cf1a0 (diff) | |
download | dotfiles-6c755535f99f246a017895763b384343f67f06d8.tar.gz |
insinuate-dotfiles: use 'command -v' not which(1)
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/insinuate-dotfiles | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/insinuate-dotfiles b/bin/insinuate-dotfiles index 5804a24c..c57a6d17 100755 --- a/bin/insinuate-dotfiles +++ b/bin/insinuate-dotfiles @@ -54,7 +54,7 @@ rm -rf "$temp" ssh "$1" "sh src/dotfiles/bin/bstraph" # copy my gpg key over there so I can use `mr up` to update dotfiles -if ssh "$1" which gpg >/dev/null; then +if ssh "$1" command -v gpg >/dev/null; then gpg --export-options export-minimal --export spwhitton@spwhitton.name \ | ssh "$1" gpg --import fi |