From 670eda3a122adc5caf0e9344217993162b0fd0a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Fri, 24 Nov 2023 12:54:28 +0100 Subject: [PATCH] Fix typo --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 30355f2..082aa56 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -57,7 +57,7 @@ if mysqlshow | grep -q seafiledb; then done; $mysqlconn -e "DROP DATABASE seafiledb" ynh_replace_string --match_string='db_name = seafiledb' --replace_string='db_name = seafile' --target_file=$install_dir/conf/seafile.conf - sed -i "s|password\s*=\s*.*^|password = $db_pwd" $install_dir/conf/seafile.conf + sed -i "s|password\s*=\s*.*^|password = $db_pwd|g" $install_dir/conf/seafile.conf fi # Set missing settings