@ -63,10 +63,6 @@ extract_boot_image_from_file_based_ota() {
exit 1
}
install_python_protobuf() {
sudo python3 -m pip install protobuf
extract_payload_from_payload_based_ota() {
unzip -od /tmp /tmp/lineageos.zip payload.bin
@ -76,7 +72,6 @@ generate_random_alnum_string_of_length_6() {
extract_boot_image_from_payload_file() {
install_python_protobuf
# 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