From 24b746db1bc8e43a251c81a300801e008302d161 Mon Sep 17 00:00:00 2001 From: ChuckPa Date: Sun, 6 Jul 2025 19:29:25 -0400 Subject: [PATCH] Correct path issue with restart --- DBRepair.sh | 8 ++++---- README.md | 10 +++------- ReleaseNotes | 4 ++++ 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/DBRepair.sh b/DBRepair.sh index f3c5321..5686eac 100755 --- a/DBRepair.sh +++ b/DBRepair.sh @@ -2,12 +2,12 @@ ######################################################################### # Database Repair Utility for Plex Media Server. # # Maintainer: ChuckPa # -# Version: v1.11.07 # -# Date: 25-Jun-2025 # +# Version: v1.11.08 # +# Date: 06-Jul-2025 # ######################################################################### # Version for display purposes -Version="v1.11.07" +Version="v1.11.08" # Have the databases passed integrity checks CheckedDB=0 @@ -2408,7 +2408,7 @@ do WriteLog "Restarting after upgrade" Output "Restarting" export DBRepairRestartedAfterUpdate=1 - exec "$0" "$@" + exec "$ScriptWorkingDirectory/$ScriptName" "$*" else Output "Restart to launch updated DBRepair.sh ($LatestVersion)" WriteLog "Update - Updated to version $LatestVersion." diff --git a/README.md b/README.md index 457b40f..514d7d5 100644 --- a/README.md +++ b/README.md @@ -268,14 +268,10 @@ Attention: -- This is for when DB operations keep getting worse and you don't know what to do. "99" is an old 'Get Smart' TV series reference where agent 99 would try to save agent 86 from harm. - "99" was originally going to be "Quit immediately save all files" but development feedback - resulted in this configuration + Community feedback has resulted in: - "Exit" is the preferred method to leave. - - "Quit" was desired instead of "99" but there are those who didn't understand the difference or references. - - If community feedback wants both "Quit. save temps" and "Exit, delete temps", behavior is easily changed. + "99" or "Exit" - Preferred way to exit and cleanup temp databases + "98" or "Quit" - Get out now without deleting the temp databases (Usually used only during unexpected failures) Also please be aware the script understands interactive versus scripted mode. diff --git a/ReleaseNotes b/ReleaseNotes index 9731437..ff6c160 100644 --- a/ReleaseNotes +++ b/ReleaseNotes @@ -8,6 +8,10 @@ ![Maintenance](https://img.shields.io/badge/Maintained-Yes-green.svg) # Release Info: +v1.11.08 + + 1. Restart after update - Sometimes restart after update would reference the wrong path. Fixed. + v1.11.07 1. Add support FreeBSD - Add support for FreeBSD (14+)