test
This commit is contained in:
parent
1c11f8d20e
commit
235af0e4d1
1733
DBRepair.sh
Normal file
1733
DBRepair.sh
Normal file
File diff suppressed because it is too large
Load Diff
@ -1 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
# ChuckPa already wrote a great function for getting host info
|
||||
source ./DBRepair.sh 99
|
||||
echo "$AppSuppDir"
|
||||
|
||||
@ -2,11 +2,14 @@
|
||||
|
||||
echo "Welcome to plex-tools wrapper utility!"
|
||||
|
||||
is_command() {
|
||||
local check_command="$1"
|
||||
command -v "${check_command}" >/dev/null 2>&1
|
||||
script_delegation ()
|
||||
{
|
||||
if [ -f "$1" ] ; then
|
||||
if [ "$1" == "token" ]
|
||||
then
|
||||
source ./plex-token.sh
|
||||
fi
|
||||
else
|
||||
echo "'$1' is not a valid plex-tools command"
|
||||
fi
|
||||
}
|
||||
|
||||
if ! is_command plex-tools ; then
|
||||
echo "plex-tools command could not be found"
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user