2
0
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:
Christopher Roy Bratusek 2020-09-07 20:09:26 +02:00
parent 346f03431d
commit c352aa4f3a

View File

@ -338,12 +338,12 @@ case ${opt} in
-r | --remove ) overrides_remove "${@}" ;;
-s | --show ) overrides_list_non ;;
-c | --clear ) overrides_clear ;;
-x | --create ) overrides_add "$(cat "${config}")" ;;
-x | --create ) overrides_add "$(grep -v '^#' "${config}")" ;;
-g | --genconfig ) overrides_genconfig ;;
-u | --update )
overrides_clear
overrides_add "$(cat "${config}")"
overrides_add "$(grep -v '^#' "${config}")"
;;
* ) show_help ;;