13 lines
237 B
Bash
13 lines
237 B
Bash
#!/bin/bash
|
|
|
|
echo "Welcome to plex-tools wrapper utility!"
|
|
|
|
is_command() {
|
|
local check_command="$1"
|
|
command -v "${check_command}" >/dev/null 2>&1
|
|
}
|
|
|
|
if ! is_command plex-tools ; then
|
|
echo "plex-tools command could not be found"
|
|
fi
|