mirror of
https://github.com/DictXiong/dotfiles.git
synced 2026-10-23 05:08:16 +08:00
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:
@@ -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;;
|
||||
|
||||
@@ -17,7 +17,7 @@ apt_install()
|
||||
for i in {man-db,vim,ca-certificates}; do apt install $i -y; done
|
||||
|
||||
# mass installation
|
||||
apt install git tmux zsh curl wget dialog net-tools dnsutils netcat traceroute sudo python3 python3-pip cron inetutils-ping openssh-client openssh-server htop gcc g++ cmake make zip
|
||||
apt install git tmux zsh curl wget dialog net-tools dnsutils netcat traceroute sudo python3 python3-pip cron inetutils-ping openssh-client openssh-server htop gcc g++ cmake make zip less
|
||||
for i in {fzf,ripgrep}; do apt install $i -y; done
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user