Add 'wazo/rules'

This commit is contained in:
Josh North 2019-02-15 11:57:41 -05:00
parent bca6c9ad4a
commit 4be1970b98

19
wazo/rules Normal file
View File

@ -0,0 +1,19 @@
#!/bin/sh
case "$1" in
build)
;;
package)
mkdir -p ${pkgdir}/etc/asterisk/extensions_extra.d
cp dictate.conf ${pkgdir}/etc/asterisk/extensions_extra.d/
;;
install)
asterisk -x 'dialplan reload'
;;
uninstall)
;;
*)
echo "$0 called with unknown argument '$1'" >&2
exit 1
;;
esac