diff options
author | Phil Sutter <phil@nwl.cc> | 2010-04-12 23:19:08 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2010-06-20 16:17:30 +0200 |
commit | e1e56a0d326e753654a224e012d2d38142107cbc (patch) | |
tree | 3efeeaef393bcf5185bf8422dd181ab0de971f0b /package | |
parent | 1f75542012f665a5ee9659fa78574977266b900d (diff) |
asterisk: default astdatadir to /usr/lib/asterisk
This is needed in order for asterisk to find the sound files we provide
(and I found adding a symlink from the sounds dir to /var/lib/asterisk/
being just too ugly). As it changes only the default configuration, I
guess this is fine without increasing PKG_RELEASE.
Diffstat (limited to 'package')
-rw-r--r-- | package/asterisk/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/asterisk/Makefile b/package/asterisk/Makefile index c35e686a5..c7ec0c0fa 100644 --- a/package/asterisk/Makefile +++ b/package/asterisk/Makefile @@ -174,6 +174,7 @@ do-install: ${SUB_INSTALLS-m} ${SUB_INSTALLS-y} rm -f gtalk.conf ; \ rm -f skinny.conf ; \ rm -f dundi.conf ; \ + echo -e '/^astdatadir =/s/var/usr/\nwq\n' | ed asterisk.conf ; \ ) ${INSTALL_DATA} ./files/modules.conf $(IDIR_ASTERISK)/etc/asterisk/ $(SED) 's|/var/lib/asterisk|/usr/lib/asterisk|g' \ |