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
|
#!/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!"
|
echo "Welcome to plex-tools wrapper utility!"
|
||||||
|
|
||||||
is_command() {
|
script_delegation ()
|
||||||
local check_command="$1"
|
{
|
||||||
command -v "${check_command}" >/dev/null 2>&1
|
if [ -f "$1" ] ; then
|
||||||
}
|
if [ "$1" == "token" ]
|
||||||
|
then
|
||||||
if ! is_command plex-tools ; then
|
source ./plex-token.sh
|
||||||
echo "plex-tools command could not be found"
|
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
echo "'$1' is not a valid plex-tools command"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user