2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-10-31 09:20:23 +00:00

CommonInstaller: system mode fixes

This commit is contained in:
Christopher Roy Bratusek 2018-04-09 20:22:48 +02:00
parent f149918c03
commit bf5ee541c6
2 changed files with 13 additions and 2 deletions

View File

@ -2,8 +2,17 @@
## 17.0 in-dev
### Bug Fixes
* CommonInstaller
* System Mode
* fix creating Uninstaller information for directories
### General Changes
* CommonInstaller
* System Mode
* create /data/adb if it does not exist
* Full package
* switch to QKSMS 3
* Uninstaller

View File

@ -390,6 +390,8 @@ detect_arch () {
echo " ++ ROM has no /system/xbin, using /system/bin instead"
else ROM_NO_XBIN=0
fi
[ ! -d /data/adb ] && mkdir /data/adb
}
##########################################################################################
@ -652,7 +654,7 @@ install_gsync () {
set_perm_data -r "${MODPATH}/system/etc/"
[ "${MODE}" = "SYSTEM" ] && \
find -type f "${INSTALLER}/gsync/permissions/" |
find "${INSTALLER}/gsync/permissions/" -type f |
sed -e "s,${INSTALLER}/gsync,/system/etc,g" \
>> /data/adb/.nanodroid-list
fi
@ -873,7 +875,7 @@ nanodroid_install_dir () {
esac
[ "${MODE}" = "SYSTEM" ] && \
find -type f "${INSTALLER}${dest}" | \
find "${INSTALLER}/system/${dir}" -type f | \
sed -e "s,^${INSTALLER},,g" \
>> /data/adb/.nanodroid-list
}