safe_asterisk: Cleanup and debian compatibility.
[asterisk/asterisk.git] / contrib / scripts / get_mp3_source.sh
1 #!/bin/sh -e
2
3 if [ -f addons/mp3/mpg123.h ]; then
4     echo "***"
5     echo "The MP3 source code appears to already be present and does not"
6     echo "need to be downloaded."
7     echo "***"
8
9     exit 1
10 fi
11
12 svn export http://svn.digium.com/svn/thirdparty/mp3/trunk addons/mp3 $@
13
14 exit 0