mirror of https://gitlab.com/Nanolx/NanoDroid
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
369 B
Bash
27 lines
369 B
Bash
#!/sbin/sh
|
|
|
|
umask 022
|
|
OUTFD=${2}
|
|
ZIP=${3}
|
|
|
|
MODID=NanoDroid_FDroid
|
|
|
|
mkdir -p /dev/tmp
|
|
unzip -oq "${ZIP}" CommonInstaller -d "/dev/tmp"
|
|
if [ ! -f /dev/tmp/CommonInstaller ]; then
|
|
echo " !! failed to load Common Installer"
|
|
exit 1
|
|
else
|
|
source "/dev/tmp/CommonInstaller"
|
|
fi
|
|
|
|
setup_installer 1
|
|
|
|
install_fdroid
|
|
set_progress 0.9
|
|
|
|
nanodroid_finalize
|
|
set_progress 1.0
|
|
|
|
exit 0
|