Update sngrep.sh

This commit is contained in:
FusionPBX 2019-08-20 15:58:06 -06:00 committed by GitHub
parent 0ab59dcd3c
commit 66f1550c4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -18,8 +18,10 @@ if [ ."$cpu_architecture" = ."arm" ]; then
cd /usr/src/sngrep && make install
else
#package install
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 -
if [ ."$os_codename" = ."jessie" ]; then
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 -
fi
apt-get update
apt-get install -y sngrep
fi