feat(scripts): have is now x-have script

This commit is contained in:
2023-09-29 14:51:20 +03:00
parent 3d753fe08c
commit 56ae0e1e1c
13 changed files with 23 additions and 13 deletions

View File

@@ -6,8 +6,8 @@ source "$HOME/.dotfiles/scripts/shared.sh"
msg "Starting to install pip packages"
! have python3 && {
msg_err "Could not find python3, something really terrible is going on." && exit 1
[[ $(x-have "python3") == "1" ]] && {
msg_err "Could not find python3, something really weird is going on." && exit 1
}
packages=(