geeks-r-us / anbox-playstore-installer

Install script that automates installation of googles playstore in anbox
MIT License
655 stars 155 forks source link

Script exits with no messages, but nothing installed on anbox #56

Closed sylvaticus closed 3 years ago

sylvaticus commented 3 years ago

Hi there. I am using the install-playstore.sh script following the instructions here.

I have anbox working (download today from a Ubuntu 20.04 desktop using the beta channel) and connected with internet (I could install F-droid and a chess program from it).

When I run however ./install-playstore.sh in a terminal the script exits after few seconds with no messages. Nothing is installed on anbox and also no temporary folder is created.

How can I help debugging this more ?

sylvaticus commented 3 years ago

Work it. I add to override OPENGAPPS_RELEASEDATE with OPENGAPPS_RELEASEDATE="20201125" otherwise the script was giving me an empty string. I also commented the set -e command, although I am not sure this was really needed.

Niek commented 3 years ago

The head part is messing up the command. This works for me:

OPENGAPPS_RELEASEDATE="$(curl -s https://api.github.com/repos/opengapps/x86_64/releases/latest | grep tag_name | grep -o "\"[0-9][0-9]*\"" | grep -o "[0-9]*")" 
geeks-r-us commented 3 years ago

Should be fixed with #55