mirror of
https://github.com/pavel-odintsov/fastnetmon
synced 2024-11-24 02:46:36 +01:00
Add support for Debian 6 and 7 to binary installer
This commit is contained in:
parent
295e127472
commit
d5303afdd8
@ -334,11 +334,17 @@ sub install_fastnetmon {
|
||||
exec_command("tar -xf /tmp/$bundle_file_name -C /opt");
|
||||
|
||||
if ($distro_type eq 'debian') {
|
||||
if ($distro_version == 8) {
|
||||
apt_get('libpcap0.8', 'libicu52', 'libnuma1');
|
||||
if (int($distro_version) == 6) {
|
||||
apt_get('libpcap0.8', 'libnuma1', 'libicu44');
|
||||
}
|
||||
|
||||
if (int($distro_version) == 7) {
|
||||
apt_get('libpcap0.8', 'libnuma1', 'libicu46');
|
||||
}
|
||||
|
||||
if (int($distro_version) == 8) {
|
||||
apt_get('libpcap0.8', 'libnuma1', 'libicu52');
|
||||
}
|
||||
|
||||
# TODO
|
||||
}
|
||||
|
||||
if ($distro_type eq 'centos') {
|
||||
|
Loading…
Reference in New Issue
Block a user