Skip to content

Commit

Permalink
chore: optimize install messages
Browse files Browse the repository at this point in the history
Signed-off-by: Charlie Chiang <[email protected]>
  • Loading branch information
charlie0129 committed Jun 19, 2024
1 parent 35751fb commit fd01c79
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bupt-net-login
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ if [[ "$1" == "install" ]]; then
fi

echo "你将要安装 bupt-net-login , 安装脚本将会做以下这些事:"
echo " - 复制 $0$PREFIX/bupt-net-login 。如果你希望更改目标位置, 请设置 PREFIX 环境变量。"
if [[ "$0" != "$PREFIX/bupt-net-login" ]]; then
echo " - 安装 $0$PREFIX/bupt-net-login 。如果你希望更改目标位置, 请设置 PREFIX 环境变量。"
fi
if crontab -l | grep -q "/bupt-net-login"; then
echo " - 移除先前安装的 bupt-net-login cron job 。其他 cron job 不受影响。"
fi
Expand Down

0 comments on commit fd01c79

Please sign in to comment.