From 1466848b5a30513c845e070b3317340cd89838f3 Mon Sep 17 00:00:00 2001 From: MrDoobPG <46342172+MrDoobPG@users.noreply.github.com> Date: Mon, 23 Dec 2019 21:42:57 +0100 Subject: [PATCH] Update pgscan.sh --- menu/pgscan/pgscan.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/menu/pgscan/pgscan.sh b/menu/pgscan/pgscan.sh index 1f44d676..a2b4c38a 100644 --- a/menu/pgscan/pgscan.sh +++ b/menu/pgscan/pgscan.sh @@ -46,9 +46,9 @@ tokenstatus() { } plexdockeruser() { -plexdocker=$(cat /var/plexguide/image/plex) +plexdocker=$(docker ps --format {{.Image}} | grep "plex") if [[ $plexdocker == "linuxserver/plex:latest" ]]; then - echo -e "abc" >/var/plexguide/pgscan/plex.docker + echo "abc" >/var/plexguide/pgscan/plex.docker else echo "plex" >/var/plexguide/pgscan/plex.docker; fi }