Update sngrep.sh
This commit is contained in:
parent
5ef79a77ad
commit
718142e2a9
|
|
@ -11,7 +11,7 @@ cd "$(dirname "$0")"
|
||||||
#add sngrep
|
#add sngrep
|
||||||
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 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 && git clone https://github.com/irontec/sngrep
|
||||||
cd /usr/src/sngrep && ./bootstrap.sh
|
cd /usr/src/sngrep && ./bootstrap.sh
|
||||||
cd /usr/src/sngrep && ./configure
|
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
|
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 -
|
wget http://packages.irontec.com/public.key -q -O - | apt-key add -
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y --force-yes sngrep
|
apt-get install -y sngrep
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue