Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions support/silkonaboxcentos6.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,19 +111,19 @@ if which rwp2yaf2silk > /dev/null; then
wget http://tools.netsa.cert.org/releases/yaf-2.8.4.tar.gz
fi
fi
if [ ! -f silk-3.15.0.tar.gz ]; then
echo -e "$(tput setaf 6)silk-3.15.0.tar.gz not found. Downloading.$(tput sgr0)"
wget http://tools.netsa.cert.org/releases/silk-3.15.0.tar.gz
if [ ! -f silk-3.16.0.tar.gz ]; then
echo -e "$(tput setaf 6)silk-3.16.0.tar.gz not found. Downloading.$(tput sgr0)"
wget http://tools.netsa.cert.org/releases/silk-3.16.0.tar.gz
else
if ask "$(tput setaf 3)silk-3.15.0.tar.gz found. Remove original and download again?$(tput sgr0)"; then
if ask "$(tput setaf 3)silk-3.16.0.tar.gz found. Remove original and download again?$(tput sgr0)"; then
echo
rm silk-3.15.0.tar.gz
wget http://tools.netsa.cert.org/releases/silk-3.15.0.tar.gz
rm silk-3.16.0.tar.gz
wget http://tools.netsa.cert.org/releases/silk-3.16.0.tar.gz
fi
fi
tar zxvf libfixbuf-1.7.1.tar.gz
tar zxvf yaf-2.8.4.tar.gz
tar zxvf silk-3.15.0.tar.gz
tar zxvf silk-3.16.0.tar.gz

# Install Libfixbuf
echo -e "$(tput setaf 6)Building libfixbuf...$(tput sgr0)"
Expand Down