2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-11-07 15:20:36 +00:00

nupd: minor change

This commit is contained in:
Christopher Roy Bratusek 2018-09-07 17:08:51 +02:00
parent 2279bc17cb
commit f8bfecf9f8

View File

@ -16,7 +16,7 @@ update_apk () {
rm -f ${APK_DIR}/${apk_o} rm -f ${APK_DIR}/${apk_o}
busybox wget ${2} -O ${APK_DIR}/${apk_o} || error "failed to download ${apk_p}" busybox wget ${2} -O ${APK_DIR}/${apk_o} || error "failed to download ${apk_p}"
pm install -r ${APK_DIR}/${apk_o} || error "failed to install ${apk_p}" pm install -rd ${APK_DIR}/${apk_o} || error "failed to install ${apk_p}"
fi fi
else else
error "wget is not installed, install Busybox" error "wget is not installed, install Busybox"