fix(sounds): link custom sounds in language directories for Asterisk (v1.4.9)
This commit is contained in:
1 parent
8f4ea50452
commit
6c74e09203
7 files changed
+19
-7
No files matched your search
@@ -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');
|
||||
|
||||
Reference in new issue
Block a user