install.sh: cmake, less, and -l=DFS_LITE (#23)

* install.sh: cmake and less

* install.sh: -l=DFS_LITE

* ci: support -l=DFS_LITE

Co-authored-by: xiongdian.me <xiongdian.me@bytedance.com>
This commit is contained in:
2022-11-09 23:19:55 +08:00
committed by GitHub
parent 6dce3cfa18
commit 300b3a29b7
4 changed files with 17 additions and 16 deletions

View File

@@ -103,7 +103,7 @@ setup_color() {
ask_for_yN()
{
while [[ -z "$DFS_QUIET" ]]; do
while [[ -z "$DFS_QUIET" || "$DFS_QUIET" == "0" ]]; do
read -p "${FMT_YELLOW}$1${FMT_RESET} [yN]: " yn
case $yn in
[Yy]* ) return 1;;
@@ -115,7 +115,7 @@ ask_for_yN()
ask_for_Yn()
{
while [[ -z "$DFS_QUIET" ]]; do
while [[ -z "$DFS_QUIET" || "$DFS_QUIET" == "0" ]]; do
read -p "${FMT_YELLOW}$1${FMT_RESET} [Yn]: " yn
case $yn in
[Nn]* ) return 0;;