feat: set icecast mount default charset to UTF-8
On first install, configure icecast to use utf-8 as default charset for it's mounts. Fixes #2501
This commit is contained in:
parent
31e69a60f7
commit
755848482d
4 changed files with 40 additions and 4 deletions
4
install
4
install
|
@ -556,6 +556,10 @@ if $LIBRETIME_SETUP_ICECAST; then
|
|||
if $is_first_install; then
|
||||
icecast_config_filepath="/etc/icecast2/icecast.xml"
|
||||
|
||||
cp_if_different \
|
||||
"${SCRIPT_DIR}/installer/icecast/icecast.xml" \
|
||||
"$icecast_config_filepath"
|
||||
|
||||
sed --in-place \
|
||||
-e "s|<admin-password>[^<]*</admin-password>|<admin-password>${LIBRETIME_ICECAST_ADMIN_PASSWORD}</admin-password>|" \
|
||||
-e "s|<source-password>[^<]*</source-password>|<source-password>${LIBRETIME_ICECAST_SOURCE_PASSWORD}</source-password>|" \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue