Update pms-copy-data.sh

pull/18/head
tteckster 2022-01-24 16:33:33 -05:00 committed by GitHub
parent a938d528c8
commit f49f1fecfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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/
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}" ] || \