mirror of
https://github.com/ChuckPa/PlexDBRepair.git
synced 2025-11-06 03:08:55 -05:00
fix first if statement
This commit is contained in:
parent
94abffcb86
commit
8924a304d1
@ -572,7 +572,7 @@ HostConfig() {
|
|||||||
[ "$(grep libpod /proc/1/cgroup | wc -l)" -gt 0 ]; then
|
[ "$(grep libpod /proc/1/cgroup | wc -l)" -gt 0 ]; then
|
||||||
|
|
||||||
# HOTIO Plex image structure is non-standard (contains symlink which breaks detection)
|
# HOTIO Plex image structure is non-standard (contains symlink which breaks detection)
|
||||||
if ([ -d "/app/usr/lib/plexmediaserver" ] || [ -d "/usr/lib/plexmediaserver" ]) && [ -d "/config/Plug-in Support" ]; then
|
if [ -n "$(grep -irslm 1 hotio /etc/s6-overlay/s6-rc.d)" ]; then
|
||||||
PLEX_SQLITE=$(find /app/usr/lib/plexmediaserver /usr/lib/plexmediaserver -maxdepth 0 -type d -print -quit 2>/dev/null); PLEX_SQLITE="$PLEX_SQLITE/Plex SQLite"
|
PLEX_SQLITE=$(find /app/usr/lib/plexmediaserver /usr/lib/plexmediaserver -maxdepth 0 -type d -print -quit 2>/dev/null); PLEX_SQLITE="$PLEX_SQLITE/Plex SQLite"
|
||||||
AppSuppDir="/config"
|
AppSuppDir="/config"
|
||||||
PID_FILE="$AppSuppDir/plexmediaserver.pid"
|
PID_FILE="$AppSuppDir/plexmediaserver.pid"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user