forked from norman/fusionpbx-install.sh-github-mirror
Update sngrep.sh
This commit is contained in:
9
debian/resources/sngrep.sh
vendored
9
debian/resources/sngrep.sh
vendored
@@ -12,11 +12,10 @@ cd "$(dirname "$0")"
|
|||||||
if [ ."$cpu_architecture" = ."arm" ]; then
|
if [ ."$cpu_architecture" = ."arm" ]; then
|
||||||
#source install
|
#source install
|
||||||
apt-get install -y --force-yes git autoconf automake gcc make libncurses5-dev libpcap-dev libssl-dev libpcre3-dev
|
apt-get install -y --force-yes git autoconf automake gcc make libncurses5-dev libpcap-dev libssl-dev libpcre3-dev
|
||||||
cd /usr/src/sngrep
|
cd /usr/src/sngrep && git clone https://github.com/irontec/sngrep
|
||||||
git clone https://github.com/irontec/sngrep
|
cd /usr/src/sngrep && ./bootstrap.sh
|
||||||
./bootstrap.sh
|
cd /usr/src/sngrep && ./configure
|
||||||
./configure
|
cd /usr/src/sngrep && make install
|
||||||
make install
|
|
||||||
else
|
else
|
||||||
#package install
|
#package install
|
||||||
echo 'deb http://packages.irontec.com/debian jessie main' > /etc/apt/sources.list.d/sngrep.list
|
echo 'deb http://packages.irontec.com/debian jessie main' > /etc/apt/sources.list.d/sngrep.list
|
||||||
|
|||||||
Reference in New Issue
Block a user