fix: add hping3 and mtr installation for macOS

This commit is contained in:
Konano 2025-01-23 18:21:53 +08:00
parent 0995287fd0
commit c8b2e4d326
Signed by: Nano
GPG Key ID: 93686B78EE43A65A

View File

@ -62,6 +62,7 @@ configure_install_useful() {
if [ "$(uname)" = "Darwin" ]; then if [ "$(uname)" = "Darwin" ]; then
[ "$1" != "noupdate" ] && brew update [ "$1" != "noupdate" ] && brew update
brew install hexyl bat tree p7zip-full brew install hexyl bat tree p7zip-full
brew install hping3 mtr
else else
[ "$1" != "noupdate" ] && sudo apt-get update [ "$1" != "noupdate" ] && sudo apt-get update
sudo apt-get install hexyl bat tree fd-find fzf -y sudo apt-get install hexyl bat tree fd-find fzf -y