ADB CLI package manager script?

My new phone has some policy configured that does not allow for sideloading from any kind of app. Thus the only option to install F-Droid and related apps is by (temporarily) enabling USB-debugging and installing / updating these via adb install.

To make this procedure more convenient on my PC, I’m looking for a small script (bash, python, …) to automate this. I would think of comparing installed package versions against latest available packages from F-Droid and updating / reinstalling them when needed.

Anyone to point me to a nice solution for this?


Thanks a lot. Looking great! I didn’t even consider finding something like this in the official Ubuntu repo :slight_smile:

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.