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.
33 lines
428 B
Bash
33 lines
428 B
Bash
#!/sbin/sh
|
|
|
|
umask 022
|
|
OUTFD=${2}
|
|
ZIP=${3}
|
|
|
|
ZIPDIR=$(dirname "${ZIP}")
|
|
MODID=NanoDroid_FDroid
|
|
|
|
unzip -o "${ZIP}" nanodroid-functions -d "/tmp" || \
|
|
error " !! failed to load Common Installer"
|
|
source "/tmp/nanodroid-functions" || \
|
|
error " !! failed to load Common Installer"
|
|
|
|
detect_bootmode
|
|
detect_outfd
|
|
|
|
show_banner
|
|
|
|
check_system
|
|
unpack_zip
|
|
detect_arch
|
|
|
|
get_cfg_setup
|
|
|
|
detect_mode
|
|
|
|
install_fdroid
|
|
|
|
nanodroid_finalize
|
|
|
|
exit 0
|