forked from norman/fusionpbx-install.sh-github-mirror
Update sngrep.sh
This commit is contained in:
4
debian/resources/sngrep.sh
vendored
4
debian/resources/sngrep.sh
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user