shell/{fasd,ssh}/install: add $FORCE envvar + exist check
This commit is contained in:
parent
bbab9de563
commit
6fd3e9e33e
|
@ -1,5 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [[ -z $FORCE ]]; then
|
||||
command -v fasd >/dev/null && exit
|
||||
fi
|
||||
|
||||
case "$OSTYPE" in
|
||||
darwin*)
|
||||
brew install fasd
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if [[ -z $FORCE ]]; then
|
||||
pgrep sshd >/dev/null && exit
|
||||
fi
|
||||
|
||||
case $OSTYPE in
|
||||
darwin*)
|
||||
# Comes preinstalled on MacOS
|
||||
|
|
Loading…
Reference in a new issue