test
This commit is contained in:
parent
504b137d1a
commit
1c11f8d20e
@ -2,8 +2,11 @@
|
|||||||
|
|
||||||
echo "Welcome to plex-tools wrapper utility!"
|
echo "Welcome to plex-tools wrapper utility!"
|
||||||
|
|
||||||
if ! command -v plex-tools &> /dev/null
|
is_command() {
|
||||||
then
|
local check_command="$1"
|
||||||
echo "plex-tools command could not be found"
|
command -v "${check_command}" >/dev/null 2>&1
|
||||||
exit
|
}
|
||||||
|
|
||||||
|
if ! is_command plex-tools ; then
|
||||||
|
echo "plex-tools command could not be found"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user