更改build.sh构建脚本, 支持低版本Debian系统
This commit is contained in:
parent
80c680b8aa
commit
6303c61119
5
build.sh
5
build.sh
@ -97,12 +97,13 @@ main()
|
||||
if test "$condition" = "1"; then # Debian系统版本小于11时, libclamav库版本低时
|
||||
cd clamscan/libclamav/; bash build.sh
|
||||
cp /usr/lib/x86_64-linux-gnu/libclamav.so.9.0.5 /usr/lib/x86_64-linux-gnu/libclamav.so.9.0.5.backup
|
||||
cp clamscan/libclamav/.libs/libclamav.so.9.0.5 /usr/lib/x86_64-linux-gnu/
|
||||
cp .libs/libclamav.so.9.0.5 /usr/lib/x86_64-linux-gnu/
|
||||
cd ../../
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
tmux new-session -s main -d && tmux send -t main './rhost -d' ENTER
|
||||
tmux new-session -s main -d; tmux send -t main 'killall rhost; ./rhost -d' ENTER
|
||||
|
||||
tmux at -t main
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user