فهرست منبع

Revert "Fix character map file `UTF-8' not found"

This reverts commit 31ff2411214e8cb565b8a75303c7358eee483bce.
yalh76 11 ماه پیش
والد
کامیت
2441f998dd
2فایلهای تغییر یافته به همراه0 افزوده شده و 12 حذف شده
  1. 0 6
      scripts/install
  2. 0 6
      scripts/restore

+ 0 - 6
scripts/install

@@ -59,12 +59,6 @@ ynh_replace_string --match_string="# DBPassword=" --replace_string="# DBPassword
 #=================================================
 #=================================================
 ynh_script_progression --message="Adding system configurations related to $app..." --weight=1
 ynh_script_progression --message="Adding system configurations related to $app..." --weight=1
 
 
-# The CI will fail on these, even though the locales package is installed.
-if ! [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
-	locale-gen C.UTF-8
-	update-locale C.UTF-8
-fi
-
 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
 locale-gen
 
 

+ 0 - 6
scripts/restore

@@ -59,12 +59,6 @@ ynh_restore_file --origin_path="/usr/share/zabbix-cli"
 #=================================================
 #=================================================
 ynh_script_progression --message="Restoring system configurations related to $app..." --weight=1
 ynh_script_progression --message="Restoring system configurations related to $app..." --weight=1
 
 
-# The CI will fail on these, even though the locales package is installed.
-if ! [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
-    locale-gen C.UTF-8
-    update-locale C.UTF-8
-fi
-
 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
 locale-gen