bash_exec: Check if jaaj command exists before executing

This commit is contained in:
GaspardCulis 2023-11-29 11:46:27 +01:00
parent d05e8623f0
commit b7107eb3da

View file

@ -1,3 +1,5 @@
#!/usr/bin/bash
jaaj
if command -v jaaj &> /dev/null && command -v lolcat &> /dev/null; then
jaaj
fi