From a08cfd1a6f8d2b1d2ede7be9f8d9f3465ea47333 Mon Sep 17 00:00:00 2001 From: jarod5001 <68397534+jarod5001@users.noreply.github.com> Date: Mon, 16 May 2022 21:22:41 +0100 Subject: [PATCH] Update install --- scripts/install | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scripts/install b/scripts/install index 1d5c11e..d88b80f 100755 --- a/scripts/install +++ b/scripts/install @@ -261,10 +261,6 @@ ynh_add_config --template="../conf/config.php" --destination="$final_path/config chmod 600 "$final_path/config.php" chown $app:$app "$final_path/config.php" -ynh_replace_string --match_string='$CONFIG = '{"lang":"en","error_reporting":false,"show_hidden":false,"hide_Cols":false,"calc_folder":false,"theme":"light"}';' - --replace_string='$CONFIG = '{"lang":"$language","error_reporting":false,"show_hidden":true,"hide_Cols":false,"calc_folder":false,"theme":"light"}';' - --target_file="$final_path/index.php" - ### For more complex cases where you want to replace stuff using regexes, ### you shoud rely on ynh_replace_string (which is basically a wrapper for sed) ### When doing so, you also need to manually call ynh_store_file_checksum