mirror of
https://github.com/ChuckPa/PlexDBRepair.git
synced 2025-11-06 03:08:55 -05:00
Fixed variable editing when reading override.conf
This commit is contained in:
parent
efaaaadfc3
commit
6e675ae48b
@ -338,8 +338,7 @@ HostConfig() {
|
||||
cat override.conf local.conf *.conf 2>/dev/null | grep "APPLICATION_SUPPORT_DIR" | head -1)"
|
||||
|
||||
if [ "$NewSuppDir" != "" ]; then
|
||||
NewSuppDir="${NewSuppDir//[^=]*=/}"
|
||||
NewSuppDir="${AppSuppDir//\"}"
|
||||
NewSuppDir="$(sed -e 's/.*_DIR=//' | tr -d '"' | tr -d "'")"
|
||||
|
||||
if [ -d "$NewSuppDir" ]; then
|
||||
AppSuppDir="$NewSuppDir"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user