diff --git a/etc/base b/etc/base index 4abc8af..7d6091f 100644 --- a/etc/base +++ b/etc/base @@ -17,7 +17,7 @@ sed -i "s/Europe\/Madrid/${TIMEZONE//\//\\/}/" /etc/rc.conf sed -i "/HARDWARECLOCK/s/^#//g" /etc/rc.conf sed -i "/FONT=/s/^#//g" /etc/rc.conf -if ! grep -q musl <<< $(uname -a); then +if ! grep -q musl <<< $(ldd /bin/ls); then echo "LANG=en_US.UTF-8" > /etc/locale.conf echo "en_US.UTF-8 UTF-8" >> /etc/default/libc-locales if ! [ "${LANGUAGE_}" == "en" ]; then diff --git a/main.sh b/main.sh index fba2e42..d24807b 100755 --- a/main.sh +++ b/main.sh @@ -279,7 +279,7 @@ do_install() { echo "ignorepkg=${i}" >> "${target}/etc/xbps.d/10-ignore-pkg.conf" done - if grep -q musl <<< $(uname -a); then + if grep -q musl <<< $(ldd /bin/ls); then export XBPS_ARCH="x86_64-musl" else export XBPS_ARCH="x86_64"