aboutsummaryrefslogtreecommitdiffstats
path: root/sounds
diff options
context:
space:
mode:
authormurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-07-20 21:36:05 +0000
committermurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-07-20 21:36:05 +0000
commit89578782ab3aa75f9c440ceb411b1b2611c60425 (patch)
treee854a8d788e7fd824578b41b4cbfe702d3db4308 /sounds
parent91e62c5f5aa9fb10f0c1138a8c97d0cee575d301 (diff)
This patch from 10249 is worth applying! It prevents downloading sound files if they are already downloaded. Darn Practical, if you ask me
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@76211 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'sounds')
-rw-r--r--sounds/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/sounds/Makefile b/sounds/Makefile
index 22b651055..a9a972ed8 100644
--- a/sounds/Makefile
+++ b/sounds/Makefile
@@ -131,13 +131,13 @@ $(MOH_DIR)/.asterisk-moh-%: have_download
touch $@
asterisk-core-%.tar.gz: have_download
- @$(DOWNLOAD) $(WGET_ARGS) $(SOUNDS_URL)/$@
+ @if test ! -f $@ ;then $(DOWNLOAD) $(WGET_ARGS) $(SOUNDS_URL)/$@;fi
asterisk-extra-%.tar.gz: have_download
- @$(DOWNLOAD) $(WGET_ARGS) $(SOUNDS_URL)/$@
+ @if test ! -f $@ ;then $(DOWNLOAD) $(WGET_ARGS) $(SOUNDS_URL)/$@;fi
asterisk-moh-%.tar.gz: have_download
- @$(DOWNLOAD) $(WGET_ARGS) $(SOUNDS_URL)/$@
+ @if test ! -f $@ ;then $(DOWNLOAD) $(WGET_ARGS) $(SOUNDS_URL)/$@;fi
dist-clean:
rm -f *.tar.gz