Browse Source

changed python to python3

pull/1/head
Ivo Oliveira Capanema 2 years ago
parent
commit
49f51d6069
  1. 2
      reinstall-magisk-on-lineageos

2
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. # 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)" scripts_directory_name="scripts_$(generate_random_alnum_string_of_length_6)"
git clone https://github.com/LineageOS/scripts /tmp/$scripts_directory_name 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() { extract_boot_image_from_payload_based_ota() {

Loading…
Cancel
Save