]> git.seodisparate.com - AnotherAURHelper/commitdiff
Impl. install script "rechecking" option
authorStephen Seo <seo.disparate@gmail.com>
Tue, 2 Apr 2024 04:20:57 +0000 (13:20 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Tue, 2 Apr 2024 04:20:57 +0000 (13:20 +0900)
update.py

index 677d44fd22fdfbc355cc125657338cc4068a8126..b8a0abc5ce9d5538e4b5f6f55f69de40e6340a1c 100755 (executable)
--- a/update.py
+++ b/update.py
@@ -2511,9 +2511,15 @@ def main():
             continue
         elif install_check == "ok":
             continue_on_loop_exit = False
+            recheck_install_script = False
             while True:
+                if recheck_install_script:
+                    recheck_install_script = False
+                    check_install_script(
+                        pkg_state, other_state, pkg_list[i], editor
+                    )
                 log_print(
-                    "install script ok? [Y/n/a(bort)/f(orce build)/b(ack)]",
+                    "install script ok? [Y/n/r(echeck)/a(bort)/f(orce build)/b(ack)]",
                     other_state=other_state,
                 )
                 user_input = (
@@ -2535,6 +2541,9 @@ def main():
                     i += 1
                     continue_on_loop_exit = True
                     break
+                elif user_input == "r":
+                    recheck_install_script = True
+                    continue
                 elif user_input == "a":
                     print_state_info_and_get_update_list(other_state, pkg_state)
                     sys.exit(1)