From e28a0643d0c2bc1040b7ac947e8dc43bf33c55cd Mon Sep 17 00:00:00 2001 From: lsy Date: Mon, 23 Sep 2024 13:43:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AE=89=E8=A3=85=E8=84=9A?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Menus/Install.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Menus/Install.sh b/Menus/Install.sh index 09deb61..31f0da7 100644 --- a/Menus/Install.sh +++ b/Menus/Install.sh @@ -9,12 +9,15 @@ fi mkdir -p "$path" rm -rf "$path/linuxtoo" -wget https://g.lsy22.com/lsy/LinuxTool/archive/master.tar.gz -O "${path}/aa" +wget https://g.lsy22.com/lsy/LinuxTool/archive/master.tar.gz -O "${path}/aa" &> /dev/null tar -zxf "$path/aa" -C $path rm "$path/aa" chmod +x "$path/linuxtool/Run.sh" sed -i '/alias tool.*/d' "${HOME}/.bashrc" -echo "alias tool=$path/linuxtool/Run.sh" | cat >> "${HOME}/.bashrc" +echo "alias tool='$path/linuxtool/Run.sh'" | cat >> "${HOME}/.bashrc" -source "${HOME}/.bashrc" \ No newline at end of file +source "${HOME}/.bashrc" +echo "工具箱已经安装成功" +echo "位置:${path}/linuxtool" +echo "命令:tool" \ No newline at end of file