diff --git a/aur/asterisk/PKGBUILD b/aur/asterisk/PKGBUILD index 214a47b27..7542f092e 100644 --- a/aur/asterisk/PKGBUILD +++ b/aur/asterisk/PKGBUILD @@ -52,7 +52,7 @@ package() { # for i in `ls`; do [ $i = "asterisk.conf" ] || mv $i $i.default; done ls -I asterisk.conf | xargs -I '{}' mv '{}' '{}.default') # cp ${srcdir}/modules.conf modules.conf - sed -i -e "s/\/var\/run/\/var\/run\/asterisk/" $startdir/pkg/etc/asterisk/asterisk.conf + sed -i -e "s/\/var\/run/\/var\/run\/asterisk/" $pkgdir/etc/asterisk/asterisk.conf mkdir -p "$pkgdir/etc/tmpdiles.d" echo "d /run/asterisk 0775 root asterisk" > $pkgdir/etc/tmpdiles.d/asterisk.conf