test
This commit is contained in:
parent
12ede6cccb
commit
141c28b592
@ -5,11 +5,13 @@ echo "Welcome to plex-tools wrapper utility!"
|
|||||||
script_delegation ()
|
script_delegation ()
|
||||||
{
|
{
|
||||||
if [ -f "$1" ] ; then
|
if [ -f "$1" ] ; then
|
||||||
case $1 in
|
if [ "$1" == "token" ]
|
||||||
token) source ./plex-token.sh ;;
|
then
|
||||||
esac
|
source ./plex-token.sh
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
echo "'$1' is not a valid plex-tools command"
|
echo "'$1' is not a valid plex-tools command"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
script_delegation
|
script_delegation
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user