Closed AbdullahM0hamed closed 4 years ago
@xalexalex, it is a typo, yes.
I couldn't figure out how to change it though, unfortunately.
I'm not sure what I was doing wrong before, but I've managed to change the name. I've also rearranged the logic as requested.
@nikitabobko, I've addressed most of your concerns. Regarding that last concern I edited this using emacs (in termux) and I haven't changed anything from the default settings (I went ahead an manually backspaced it through).
EDIT: It seems that emacs does not indent it using 8 spaces, for if statements. I'm not sure why it happened, as I don't indent manually, but I believe it may have been because it indented then
originally, and then indented the next line further as I originally forget to close the if
condition.
This script calls the package installer via Intents and requires the following permissions to be in termux-api:
android.permission.REQUEST_INSTALL_PACKAGES
android.permission.REQUEST_DELETE_PACKAGES