diff --git a/CommonInstaller b/CommonInstaller index abaea4a..135fdc2 100644 --- a/CommonInstaller +++ b/CommonInstaller @@ -1201,7 +1201,7 @@ install_apps () { print_info " << with applications" APP_STRING=" <<>" - grep -E -v '^(#|^[[:space:]]*$)' "${cfg_apps}" | while read app; do + grep -E -v '^(#|[[:space:]]*$)' "${cfg_apps}" | while read app; do if [ -d "${INSTALLER}/system/app/${app}" ]; then print_info " ++ ${app}" nanodroid_install_apk ${app} diff --git a/Full/system/xbin/nanodroid-overlay b/Full/system/xbin/nanodroid-overlay index 8d5c561..5400f9a 100755 --- a/Full/system/xbin/nanodroid-overlay +++ b/Full/system/xbin/nanodroid-overlay @@ -338,12 +338,12 @@ case ${opt} in -r | --remove ) overrides_remove "${@}" ;; -s | --show ) overrides_list_non ;; -c | --clear ) overrides_clear ;; - -x | --create ) overrides_add "$(grep -E -v '^(#|^[[:space:]]*$)' "${config}")" ;; + -x | --create ) overrides_add "$(grep -E -v '^(#|[[:space:]]*$)' "${config}")" ;; -g | --genconfig ) overrides_genconfig ;; -u | --update ) overrides_clear - overrides_add "$(grep -E -v '^(#|^[[:space:]]*$)' "${config}")" + overrides_add "$(grep -E -v '^(#|[[:space:]]*$)' "${config}")" ;; * ) show_help ;;