diff options
author | Jybz <j.biernacki@free.fr> | 2019-11-01 13:15:49 +0000 |
---|---|---|
committer | Jybz <j.biernacki@free.fr> | 2019-11-01 13:15:49 +0000 |
commit | 9251519d7ac8189c9b6721c74bb283e9f5d017ce (patch) | |
tree | a72fe3f094ae8ae0a6af49de61e06feed623803c | |
parent | 19a14be86693532628c3ae745c70ecbf0004713f (diff) | |
download | mageia4arm-9251519d7ac8189c9b6721c74bb283e9f5d017ce.tar mageia4arm-9251519d7ac8189c9b6721c74bb283e9f5d017ce.tar.gz mageia4arm-9251519d7ac8189c9b6721c74bb283e9f5d017ce.tar.bz2 mageia4arm-9251519d7ac8189c9b6721c74bb283e9f5d017ce.tar.xz mageia4arm-9251519d7ac8189c9b6721c74bb283e9f5d017ce.zip |
Change la locale à C, toutes les commandes du script sont en anglais, il n'y a plus d'erreur PERL.
-rw-r--r-- | create_arm_img_urpmi.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/create_arm_img_urpmi.sh b/create_arm_img_urpmi.sh index 9925f96..5ece264 100644 --- a/create_arm_img_urpmi.sh +++ b/create_arm_img_urpmi.sh @@ -16,7 +16,8 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. #Change the local to the most global -#LC_ALL="C" +# export LC_ALL=C.UTF-8 +export LC_ALL=C function WaitToContinue() { @@ -280,7 +281,7 @@ function installbasesystem() # error "line ${LINENO} error installing basesystem-minimal : exiting" # exit ${ERR_1} #fi - /sbin/urpmi --urpmi-root "${BUILD_PATH}" --ignorearch --no-verify-rpm --auto --split-level 200 --split-length 0 urpmi locales-fr u-boot + /sbin/urpmi --urpmi-root "${BUILD_PATH}" --ignorearch --no-verify-rpm --auto --split-level 200 --split-length 0 urpmi locales u-boot if [ ${?} -ne 0 ]; then error "line ${LINENO} error installing urpmi or locales.fr : exiting" exit ${ERR_1} |