mirror of
https://gitlab.com/Nanolx/NanoDroid
synced 2024-10-31 09:20:23 +00:00
NanoDroid-Overlay: ignore commented out lines
This commit is contained in:
parent
346f03431d
commit
c352aa4f3a
@ -338,12 +338,12 @@ case ${opt} in
|
|||||||
-r | --remove ) overrides_remove "${@}" ;;
|
-r | --remove ) overrides_remove "${@}" ;;
|
||||||
-s | --show ) overrides_list_non ;;
|
-s | --show ) overrides_list_non ;;
|
||||||
-c | --clear ) overrides_clear ;;
|
-c | --clear ) overrides_clear ;;
|
||||||
-x | --create ) overrides_add "$(cat "${config}")" ;;
|
-x | --create ) overrides_add "$(grep -v '^#' "${config}")" ;;
|
||||||
-g | --genconfig ) overrides_genconfig ;;
|
-g | --genconfig ) overrides_genconfig ;;
|
||||||
|
|
||||||
-u | --update )
|
-u | --update )
|
||||||
overrides_clear
|
overrides_clear
|
||||||
overrides_add "$(cat "${config}")"
|
overrides_add "$(grep -v '^#' "${config}")"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
* ) show_help ;;
|
* ) show_help ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user