PhyrePanel/shell/helpers/ubuntu/common.sh
Bozhidar Slaveykov b8919ceb0d update
2023-11-23 20:13:24 +02:00

14 lines
178 B
Bash

#!/bin/bash
function command_is_installed() {
CHECK_COMMAND=$1
if [[ $(command -v $CHECK_COMMAND) == "" ]]; then
return 1
else
return 0
fi
}