Browse Source

Update install

seems need escape like grep
Robles Rodolphe 11 months ago
parent
commit
ccc98fe46a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/install

+ 1 - 1
scripts/install

@@ -59,7 +59,7 @@ ynh_replace_string --match_string="# DBPassword=" --replace_string="# DBPassword
 #=================================================
 ynh_script_progression --message="Adding system configurations related to $app..." --weight=1
 
-ynh_replace_string --match_string="# $language.UTF-8 UTF-8" --replace_string="$language.UTF-8 UTF-8" --target_file=/etc/locale.gen
+ynh_replace_string --match_string="# ${language}\.UTF-8 UTF-8" --replace_string="${language}\.UTF-8 UTF-8" --target_file=/etc/locale.gen
 locale-gen
 
 # Create a PHP-FPM config (with conf/extra_php-fpm.conf being appended to it)