From a938d528c822f7bf94ffc0e0d9a75b5f1421cc32 Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 24 Jan 2022 16:08:24 -0500 Subject: [PATCH] Update pms-copy-data.sh --- misc/pms-copy-data.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/pms-copy-data.sh b/misc/pms-copy-data.sh index 4e1c66a6..8d235642 100644 --- a/misc/pms-copy-data.sh +++ b/misc/pms-copy-data.sh @@ -85,7 +85,7 @@ if [ $(pct status $CTID_TO | sed 's/.* //') == 'running' ]; then pct stop $CTID_TO fi msg "Mounting Container Disks..." -DATA_PATH="/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/" +DATA_PATH=/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/ CTID_FROM_PATH=$(pct mount $CTID_FROM | sed -n "s/.*'\(.*\)'/\1/p") || \ die "There was a problem mounting the root disk of LXC '${CTID_FROM}'." [ -d "${CTID_FROM_PATH}${DATA_PATH}" ] || \