From 49f51d60691073a163693d1e07190d35331518fa Mon Sep 17 00:00:00 2001 From: Ivo Capanema Date: Wed, 9 Nov 2022 00:47:27 -0300 Subject: [PATCH] changed python to python3 --- reinstall-magisk-on-lineageos | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reinstall-magisk-on-lineageos b/reinstall-magisk-on-lineageos index 58dd225..086f9d4 100755 --- a/reinstall-magisk-on-lineageos +++ b/reinstall-magisk-on-lineageos @@ -75,7 +75,7 @@ extract_boot_image_from_payload_file() { # For cases in which the repo has already been cloned, I prefer to create a random directory name to clone into, instead of deleting any file or directory on the user's machine. scripts_directory_name="scripts_$(generate_random_alnum_string_of_length_6)" git clone https://github.com/LineageOS/scripts /tmp/$scripts_directory_name - python /tmp/$scripts_directory_name/update-payload-extractor/extract.py --partitions boot --output_dir /tmp/ /tmp/payload.bin + python3 /tmp/$scripts_directory_name/update-payload-extractor/extract.py --partitions boot --output_dir /tmp/ /tmp/payload.bin } extract_boot_image_from_payload_based_ota() {