From 86a3a1ca9743f9bbb68dab317e25d3a9ae1a03cd Mon Sep 17 00:00:00 2001 From: "xiongdian.me" Date: Thu, 12 Jan 2023 18:08:55 +0800 Subject: [PATCH] --wip-- [skip ci] --- tools/common.sh | 1 + tools/ubuntu.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/common.sh b/tools/common.sh index 99d73bc..5f3b80c 100755 --- a/tools/common.sh +++ b/tools/common.sh @@ -5,6 +5,7 @@ export DOTFILES=$( cd "$THIS_DIR_COMMON_SH/.." && pwd ) if [[ -f ~/.config/dotfiles/env ]]; then set -a; source ~/.config/dotfiles/env; set +a; fi # parse args and set env, when it is sourced +# todo: make this skipable if [[ "${BASH_SOURCE[0]}" != "${0}" ]]; then ORIGIN_ARGS=("$@") ARG="" diff --git a/tools/ubuntu.sh b/tools/ubuntu.sh index 224ebfb..4fcd6f0 100755 --- a/tools/ubuntu.sh +++ b/tools/ubuntu.sh @@ -17,7 +17,7 @@ apt_install() apt-get install -y git zsh bash tmux vim curl inetutils-ping less bsdmainutils # full if [[ -z "$DFS_LITE" || "$DFS_LITE" == "0" ]]; then - apt-get install wget dialog net-tools dnsutils netcat traceroute sudo python3 python3-pip cron openssh-client openssh-server htop gcc g++ cmake make zip + apt-get install -y wget dialog net-tools dnsutils netcat traceroute sudo python3 python3-pip cron openssh-client openssh-server htop gcc g++ cmake make zip for i in {fzf,ripgrep,man-db}; do apt-get install -y $i; done fi }