|
|
|
@ -10,7 +10,7 @@ if [ ! -d "patterns" ]; then |
|
|
|
wget http://www.belledonne-communications.com/downloads/bcg729-patterns.zip |
|
|
|
if [ -e bcg729-patterns.zip ]; then |
|
|
|
# check file |
|
|
|
if [[ `md5sum bcg729-patterns.zip | grep -c 75b4fb8b286485c375c9c326f8b9eb66` -ne 0 ]]; then |
|
|
|
if [[ `openssl md5 bcg729-patterns.zip | grep -c 75b4fb8b286485c375c9c326f8b9eb66` -ne 0 ]]; then |
|
|
|
# file ok, unzip it |
|
|
|
unzip bcg729-patterns.zip |
|
|
|
if [[ $? -ne 0 ]]; then |
|
|
|
|