修改安装命令

This commit is contained in:
lsy 2024-09-23 17:07:33 +08:00
parent 74bc4baae8
commit e31bd3c853

View File

@ -8,7 +8,7 @@ fi
echo "软件正在安装中" echo "软件正在安装中"
mkdir -p "$path" mkdir -p "$path"
rm -rf "$path/linuxtoo" rm -rf "$path/linuxtool"
wget https://g.lsy22.com/lsy/LinuxTool/archive/master.tar.gz -O "${path}/aa" &> /dev/null wget https://g.lsy22.com/lsy/LinuxTool/archive/master.tar.gz -O "${path}/aa" &> /dev/null
@ -28,8 +28,6 @@ sed -i '/alias tool.*/d' "${HOME}/.profile"
echo "alias tool='$path/linuxtool/Run.sh'" | cat >> "${HOME}/.profile" echo "alias tool='$path/linuxtool/Run.sh'" | cat >> "${HOME}/.profile"
source "${HOME}/.profile" source "${HOME}/.profile"
export tool="$path/linuxtool/Run.sh"
echo "工具箱已经安装成功" echo "工具箱已经安装成功"
echo "位置:${path}/linuxtool" echo "位置:${path}/linuxtool"
echo "命令tool" echo "命令tool"