[scripts] mkloopcard: move LC_ALL export upwards
This commit is contained in:
parent
315c74002b
commit
dbebd8980a
@ -156,6 +156,8 @@ fi
|
|||||||
|
|
||||||
# execute PACKAGES_TO_ADD and PACKAGES_TO_REMOVE
|
# execute PACKAGES_TO_ADD and PACKAGES_TO_REMOVE
|
||||||
export ETP_NONINTERACTIVE=1
|
export ETP_NONINTERACTIVE=1
|
||||||
|
# Entropy doesn't like non-UTF locale encodings
|
||||||
|
export LC_ALL=en_US.UTF-8
|
||||||
|
|
||||||
# do I have to run "equo update?"
|
# do I have to run "equo update?"
|
||||||
# If we are running outside the DAILY scope, it's
|
# If we are running outside the DAILY scope, it's
|
||||||
@ -167,8 +169,6 @@ if [ -z "$(basename ${IMAGE_NAME} | grep DAILY)" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Entropy doesn't like non-UTF locale encodings
|
|
||||||
export LC_ALL=en_US.UTF-8
|
|
||||||
if [ -n "${PACKAGES_TO_ADD}" ]; then
|
if [ -n "${PACKAGES_TO_ADD}" ]; then
|
||||||
add_cmd="equo install ${PACKAGES_TO_ADD}"
|
add_cmd="equo install ${PACKAGES_TO_ADD}"
|
||||||
chroot "${tmp_dir}" ${add_cmd} || exit 1
|
chroot "${tmp_dir}" ${add_cmd} || exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user