2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-11-17 21:26:22 +00:00

build-package: github vs. gitlab

This commit is contained in:
Christopher Roy Bratusek 2019-03-02 10:11:24 +01:00
parent 18b9a29879
commit 1e78f1b2c9

View File

@ -216,11 +216,11 @@ grab_apk_from_github () {
grab_apk_from_ogapps () { grab_apk_from_ogapps () {
case "${1}" in case "${1}" in
"com.google.android.syncadapters.calendar" ) "com.google.android.syncadapters.calendar" )
APK_URL="https://gitlab.nezorfla.me/opengapps/all/blob/master/${2}/${1}/15/nodpi/2015080710.apk?raw=true" APK_URL="https://gitlab.nezorfla.me/opengapps/all/raw/master/${2}/${1}/15/nodpi/2015080710.apk?inline=false"
;; ;;
* ) * )
APK_URL="https://gitlab.nezorfla.me/opengapps/all/blob/master/${2}/${1}/${4}/nodpi/${4}.apk?raw=true" APK_URL="https://gitlab.nezorfla.me/opengapps/all/raw/master/${2}/${1}/${4}/nodpi/${4}.apk?inline=false"
;; ;;
esac esac
@ -253,7 +253,7 @@ grab_lib_from_ogapps () {
arm64 | x86_64 ) LIBD=lib64 ;; arm64 | x86_64 ) LIBD=lib64 ;;
esac esac
LIB_URL="https://gitlab.nezorfla.me/opengapps/${3}/blob/master/${LIBD}/${2}/${1}?raw=true" LIB_URL="https://gitlab.nezorfla.me/opengapps/${3}/raw/master/${LIBD}/${2}/${1}?inline=false"
SWP_DEST="${CWD}/Full/swipe/${3}" SWP_DEST="${CWD}/Full/swipe/${3}"
if [[ "${4}" == "true" ]]; then if [[ "${4}" == "true" ]]; then