now that the 'languageprefix' option defaults to 'on', and all channels have a default language of 'en', let's install the English sound files into /var/lib/asterisk/sounds/en, just like the other languages
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49069 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
17ecd513f5
commit
8cdd980d21
|
@ -80,7 +80,7 @@ $(SOUNDS_DIR)/.asterisk-core-sounds-en-%: have_download
|
|||
if test ! -f $${PACKAGE}; then $(DOWNLOAD) $(WGET_ARGS) $(SOUNDS_URL)/$${PACKAGE}; fi; \
|
||||
if test ! -f $${PACKAGE}; then exit 1; fi; \
|
||||
rm -f $(subst -$(CORE_SOUNDS_VERSION),,$@)-* && \
|
||||
(cd $(SOUNDS_DIR); cat $(PWD)/$${PACKAGE} | gzip -d | tar xf -) && \
|
||||
(cd $(SOUNDS_DIR)/en; cat $(PWD)/$${PACKAGE} | gzip -d | tar xf -) && \
|
||||
touch $@
|
||||
|
||||
$(SOUNDS_DIR)/.asterisk-core-sounds-es-%: have_download
|
||||
|
@ -104,7 +104,7 @@ $(SOUNDS_DIR)/.asterisk-extra-sounds-en-%: have_download
|
|||
if test ! -f $${PACKAGE}; then $(DOWNLOAD) $(WGET_ARGS) $(SOUNDS_URL)/$${PACKAGE}; fi; \
|
||||
if test ! -f $${PACKAGE}; then exit 1; fi; \
|
||||
rm -f $(subst -$(EXTRA_SOUNDS_VERSION),,$@)-* && \
|
||||
(cd $(SOUNDS_DIR); cat $(PWD)/$${PACKAGE} | gzip -d | tar xf -) && \
|
||||
(cd $(SOUNDS_DIR)/en; cat $(PWD)/$${PACKAGE} | gzip -d | tar xf -) && \
|
||||
touch $@
|
||||
|
||||
$(SOUNDS_DIR)/.asterisk-extra-sounds-es-%: have_download
|
||||
|
@ -142,10 +142,10 @@ asterisk-moh-%.tar.gz: have_download
|
|||
dist-clean:
|
||||
rm -f *.tar.gz
|
||||
|
||||
$(SOUNDS_DIR) $(MOH_DIR) $(SOUNDS_DIR)/es $(SOUNDS_DIR)/fr:
|
||||
$(SOUNDS_DIR)/en $(MOH_DIR) $(SOUNDS_DIR)/es $(SOUNDS_DIR)/fr:
|
||||
mkdir -p $@
|
||||
|
||||
install: $(SOUNDS_DIR) $(SOUNDS_DIR)/es $(SOUNDS_DIR)/fr $(MOH_DIR) $(CORE_SOUND_TAGS) $(EXTRA_SOUND_TAGS) $(MOH_TAGS)
|
||||
install: $(SOUNDS_DIR)/en $(SOUNDS_DIR)/es $(SOUNDS_DIR)/fr $(MOH_DIR) $(CORE_SOUND_TAGS) $(EXTRA_SOUND_TAGS) $(MOH_TAGS)
|
||||
|
||||
uninstall:
|
||||
rm -rf $(SOUNDS_DIR)
|
||||
|
|
Reference in New Issue