From 2cbe1e7afc506e92b74c7ce8978a40a37fdb2148 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Sun, 8 Sep 2024 09:17:08 +0900 Subject: [PATCH 1/2] POST_UPDATE: even on PR [skip ci] --- functions/checks.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/functions/checks.sh b/functions/checks.sh index 55b24df3..415e538f 100644 --- a/functions/checks.sh +++ b/functions/checks.sh @@ -132,8 +132,9 @@ elif [[ "$new_version_major_rev" -eq "$current_version_major_rev" ]]; then fi fi -# Perform post_update commands for current version if it is a cooker -if grep -qF "cooker" <<< $hard_version; then # If newly-installed version is a "cooker" build, always perform post_update commands for current version +# Perform post_update commands for current version if it is a cooker or PR +if grep -qF "cooker" <<< "$hard_version" || grep -qF "PR" <<< "$hard_version"; then + # If newly-installed version is a "cooker" or "PR" build, always perform post_update commands for current version if [[ "$(echo $hard_version | cut -d'-' -f2)" == "$new_version" ]]; then is_newer_version="true" fi From 2f2ffd7f72776bd2067d3e3b08b1a1e5230ed63f Mon Sep 17 00:00:00 2001 From: XargonWan Date: Sun, 8 Sep 2024 09:31:35 +0900 Subject: [PATCH 2/2] RETRODECK: You know? till now we never quit retrodeck in the end! [skip ci] --- retrodeck.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/retrodeck.sh b/retrodeck.sh index 018d9bc2..c416de6c 100644 --- a/retrodeck.sh +++ b/retrodeck.sh @@ -199,3 +199,4 @@ fi # Normal Startup start_retrodeck +quit_retrodeck