diff --git a/DBRepair.sh b/DBRepair.sh index a35f2eb..ef06ad5 100644 --- a/DBRepair.sh +++ b/DBRepair.sh @@ -1692,7 +1692,7 @@ do # Quit/Exit 98|sourcefile) HostConfig - echo "$AppSuppDir" + export "PLEX_APPLICATION_SUPPORT_DIR=$AppSuppDir" exit ;; diff --git a/plex-token.sh b/plex-token.sh index df393fb..0159c6c 100644 --- a/plex-token.sh +++ b/plex-token.sh @@ -2,7 +2,7 @@ # ChuckPa already wrote a great function for getting host info bash ./DBRepair.sh show 99 >/dev/null 2>&1 -echo "$AppSuppDir" +echo "$PLEX_APPLICATION_SUPPORT_DIR"