Update sngrep.sh

This commit is contained in:
FusionPBX
2019-02-17 09:30:31 -07:00
committed by GitHub
parent 5ef79a77ad
commit 718142e2a9

View File

@@ -11,7 +11,7 @@ cd "$(dirname "$0")"
#add sngrep
if [ ."$cpu_architecture" = ."arm" ]; then
#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 git autoconf automake gcc make libncurses5-dev libpcap-dev libssl-dev libpcre3-dev
cd /usr/src && git clone https://github.com/irontec/sngrep
cd /usr/src/sngrep && ./bootstrap.sh
cd /usr/src/sngrep && ./configure
@@ -21,5 +21,5 @@ else
echo "deb http://packages.irontec.com/debian $os_codename main" > /etc/apt/sources.list.d/sngrep.list
wget http://packages.irontec.com/public.key -q -O - | apt-key add -
apt-get update
apt-get install -y --force-yes sngrep
apt-get install -y sngrep
fi