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