Fix: Changes to have command usage

This commit is contained in:
2023-05-05 22:59:14 +03:00
parent edd56c80eb
commit e5fe49834d
6 changed files with 24 additions and 8 deletions

View File

@@ -6,9 +6,9 @@
source "$HOME/.dotfiles/scripts/shared.sh"
set -e
have ntfy && {
msg "ntfy already installed"
} || {
have ntfy && msg "ntfy already installed"
! have ntfy && {
case $(dfm check arch) in
Linux)
NTFY_ARCH="linux_$(arch)"