mirror of
https://gitlab.com/Nanolx/NanoDroid
synced 2024-10-31 09:20:23 +00:00
drop useless ^
This commit is contained in:
parent
d9fb69cdba
commit
2dfe5dfbb3
@ -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}
|
||||
|
@ -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 ;;
|
||||
|
Loading…
Reference in New Issue
Block a user