修改安装命令

This commit is contained in:
lsy 2024-09-23 17:02:52 +08:00
parent 69296c2bec
commit 74bc4baae8

View File

@ -22,8 +22,12 @@ chmod +x "$path/linuxtool/Run.sh" &> /dev/null
sed -i '/alias tool.*/d' "${HOME}/.bashrc"
echo "alias tool='$path/linuxtool/Run.sh'" | cat >> "${HOME}/.bashrc"
source "${HOME}/.bashrc"
sed -i '/alias tool.*/d' "${HOME}/.profile"
echo "alias tool='$path/linuxtool/Run.sh'" | cat >> "${HOME}/.profile"
source "${HOME}/.profile"
export tool="$path/linuxtool/Run.sh"
echo "工具箱已经安装成功"