diff --git a/ct/bookorbit.sh b/ct/bookorbit.sh index 7b0e95c13..b955ddd5a 100644 --- a/ct/bookorbit.sh +++ b/ct/bookorbit.sh @@ -53,6 +53,7 @@ function update_script() { mkdir -p /opt/bookorbit/server/migrations cp -r /opt/bookorbit/server/src/db/migrations/. /opt/bookorbit/server/migrations/ chmod +x /opt/bookorbit/server/bin/kepubify/* + restore_backup APP_VER=$(cat ~/.bookorbit) sed -i "s/^APP_VERSION=.*/APP_VERSION=v$APP_VER/" /opt/bookorbit/.env msg_ok "Rebuilt Application"