no point in this being here

This commit is contained in:
Tyler 2020-09-30 17:58:25 -05:00
parent 776dceaa02
commit 61fb1c4e0f
1 changed files with 0 additions and 1 deletions

View File

@ -3,7 +3,6 @@
FILENAME=$(ls -1t /mnt/media/plexsync/plexdb* | head -1) FILENAME=$(ls -1t /mnt/media/plexsync/plexdb* | head -1)
if sqlite3 /config/Library/Application\ Support/Plex\ Media\ Server/Plug-in\ Support/Databases/com.plexapp.plugins.library.db ".restore $FILENAME"; then if sqlite3 /config/Library/Application\ Support/Plex\ Media\ Server/Plug-in\ Support/Databases/com.plexapp.plugins.library.db ".restore $FILENAME"; then
chown 1001:1001 "$FILENAME"
echo "$(date)"": preStart lifecycle restore of Plex database was successful." echo "$(date)"": preStart lifecycle restore of Plex database was successful."
else else
echo "$(date)"": preStart lifecycle restore of Plex database has failed." echo "$(date)"": preStart lifecycle restore of Plex database has failed."