novl: fix -a with new app is similar to an existing one

merge-requests/23/head NanoDroid-20190126-20.6
Christopher Roy Bratusek 6 years ago
parent 8a135e8b8e
commit 58b1620556

@ -7,6 +7,10 @@
* Uninstaller
* ensure restored backups (System Mode) have proper permissions
* NanoDroid-Overlay
* when listing non-overriden apps in Magisk Mode, skip NanoDroid's own packages
* fix adding overlays to configuration if a similarly named app already is in the configuration
* Push Messages
* GsfProxy needs the same signature as GmsCore in order for Push Messages to fully work
* when using NanoDroid's GmsCore a re-signed GsfProxy with the NanoDroid key will be installed
@ -19,7 +23,6 @@
* Scripts
* nanodroid-overlay
* store backups in System Mode per ROM in /sdcard/nanodroid_backups/${ro.build.flavor}_${ro.build.id}
* when listing non-overriden apps in Magisk Mode, skip NanoDroid's own packages
* Uninstaller
* improved System Mode uninstallation routine

@ -82,7 +82,7 @@ overrides_add_intern () {
mv "/system/${sysdir}/${app}" "${SYS_BACKUP_PATH}/${sysdir}/"
fi
grep -q "^${app}" "${config}" 2>/dev/null || echo "${app}" >> "${config}"
grep -q "^${app}$" "${config}" 2>/dev/null || echo "${app}" >> "${config}"
}
overrides_add () {

Loading…
Cancel
Save