mirror of
https://github.com/YunoHost-Apps/jellyfin_ynh.git
synced 2024-09-03 19:26:29 +02:00
ynh_replace_string is nice, but do not forget to specify the file
This commit is contained in:
parent
18bef5d8d9
commit
87549cb90a
2 changed files with 2 additions and 2 deletions
|
@ -130,7 +130,7 @@ ynh_replace_string --match_string="<IsStartupWizardCompleted>false</IsStartupWiz
|
||||||
|
|
||||||
# Lower logging verbosity
|
# Lower logging verbosity
|
||||||
cp "$config_path/logging.default.json" "$config_path/logging.json"
|
cp "$config_path/logging.default.json" "$config_path/logging.json"
|
||||||
ynh_replace_string --match_string="\"Default\": \"Information\"" --replace_string="\"Default\": \"Error\""
|
ynh_replace_string --match_string="\"Default\": \"Information\"" --replace_string="\"Default\": \"Error\"" --target_file="$config_path/logging.json"
|
||||||
|
|
||||||
ynh_store_file_checksum --file="$config_path/network.xml"
|
ynh_store_file_checksum --file="$config_path/network.xml"
|
||||||
ynh_store_file_checksum --file="$config_path/system.xml"
|
ynh_store_file_checksum --file="$config_path/system.xml"
|
||||||
|
|
|
@ -51,7 +51,7 @@ fi
|
||||||
# If logging config does not exist, lower logging verbosity
|
# If logging config does not exist, lower logging verbosity
|
||||||
if ! [ -e "$config_path/logging.json" ]; then
|
if ! [ -e "$config_path/logging.json" ]; then
|
||||||
cp "$config_path/logging.default.json" "$config_path/logging.json"
|
cp "$config_path/logging.default.json" "$config_path/logging.json"
|
||||||
ynh_replace_string --match_string="\"Default\": \"Information\"" --replace_string="\"Default\": \"Error\""
|
ynh_replace_string --match_string="\"Default\": \"Information\"" --replace_string="\"Default\": \"Error\"" --target_file="$config_path/logging.json"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Cleaning legacy permissions
|
# Cleaning legacy permissions
|
||||||
|
|
Loading…
Add table
Reference in a new issue