From b2a8a747cffabd38317c1f5e51a9ab5d9ee1f6cf Mon Sep 17 00:00:00 2001 From: Konano Date: Thu, 12 Sep 2024 14:42:23 +0800 Subject: [PATCH] remove update_file_sudo --- README.md | 2 ++ update.sh | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c9fb83f..a678d06 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,8 @@ root 用户请使用 [init_root.sh](./init_root.sh) - [ ] 开启自启 docker,docker (rootless) 和 pm2 +- [ ] npm 镜像:npm config set registry https://registry.npm.taobao.org/ + ### Others ```bash diff --git a/update.sh b/update.sh index bff5328..24aaba4 100755 --- a/update.sh +++ b/update.sh @@ -51,7 +51,7 @@ update_file $scriptdir/files/zsh/90-other.zsh ~/.oh-my-zsh/custom/90-o update_file $scriptdir/files/zsh/ys-simple.zsh-theme ~/.oh-my-zsh/custom/themes/ys-simple.zsh-theme update_authorized_keys -sudo_id=$(sudo id -u 2>/dev/null) -if [ $? -eq 0 ] && [ "$sudo_id" -eq 0 ]; then - update_file_sudo $scriptdir/files/proxychains4.conf /etc/proxychains4.conf -fi +# sudo_id=$(sudo id -u 2>/dev/null) +# if [ $? -eq 0 ] && [ "$sudo_id" -eq 0 ]; then +# update_file_sudo $scriptdir/files/proxychains4.conf /etc/proxychains4.conf +# fi