live_ast: Add astcachedir to generated asterisk.conf.

`astcachedir` (added in b0842713) was not added to `live_ast` so
continued to point to the system `/var/cache` directory instead of the
one in the live environment.

(cherry picked from commit 04fd8704e1)
This commit is contained in:
Sean Bright
2023-11-09 09:11:33 -05:00
committed by Asterisk Development Team
parent 2359af9ea3
commit 00498f4f67

View File

@@ -221,7 +221,7 @@ samples)
sed -r -i \
-e '/^\[directories\]\(!\)/s/\(!\).*//' \
-e "/^\[directories\]/a; rem-out any of the following to use Asterisk's defaults:" \
-e "/^ast(etc|mod|varlib|data|agi|run|spool|log|db|key)dir\>/s| /| $BASE_DIR/|" \
-e "/^ast(cache|etc|mod|varlib|data|agi|run|spool|log|db|key)dir\>/s| /| $BASE_DIR/|" \
"$AST_CONF"
if [ "$LIVE_AST_FOR_SYSTEM" != '' ]; then
sed -r -i \