fix(sounds): link custom sounds in language directories for Asterisk (v1.4.9)

This commit is contained in:
sorcier committed 2026-11-04 12:04:19 +01:00
1 parent 8f4ea50452
commit 6c74e09203
7 files changed
+19 -7

No files matched your search

+3
View File
@@ -235,6 +235,9 @@ class SystemChecker
if (is_dir($src) && !file_exists($dst)) {
@symlink($src, $dst);
}
if (is_dir($dst) && !file_exists("{$dst}/custom")) {
@symlink('/var/lib/asterisk/sounds/custom', "{$dst}/custom");
}
}
if (!file_exists('/usr/share/asterisk/sounds/custom')) {
@symlink('/var/lib/asterisk/sounds/custom', '/usr/share/asterisk/sounds/custom');