Skip to content

Commit

Permalink
Exits if snapserver or mopidy isn't installed
Browse files Browse the repository at this point in the history
  • Loading branch information
ESteanes committed Aug 15, 2021
1 parent 99a7a67 commit 4413d5c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions multiple_mopidy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,11 @@ numargs=0
if ! command -v snapserver &> /dev/null
then
echo "Snapserver isn't installed, please install snapserver"
exit 1
elif ! command -v mopidy &> /dev/null
then
echo "Mopidy isn't installed, please install Mopidy"
exit 1
fi

while getopts ":H:N:O:V:rhv" option; do
Expand Down

0 comments on commit 4413d5c

Please sign in to comment.