Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
midoks committed Jun 5, 2024
1 parent d0cdab8 commit fbce4a1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions plugins/task_manager/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ Install_App()
echo '正在安装脚本文件...' > $install_tmp
mkdir -p $serverPath/task_manager

if [ -d /usr/bin/apt ]; then
apt install libpcap-dev -y
fi

if [ -d /usr/bin/yum ]; then
yum install libpcap-devel -y
fi

echo "$VERSION" > $serverPath/task_manager/version.pl
echo "安装任务管理器成功"
}
Expand Down

0 comments on commit fbce4a1

Please sign in to comment.