소스 검색

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

This reverts commit 31ff2411214e8cb565b8a75303c7358eee483bce.
yalh76 1 년 전
부모
커밋
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
 
-# 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"
 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
 
-# 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
 locale-gen