From 75c0c93d3dad82c9a9c9033ca432e271d53e2802 Mon Sep 17 00:00:00 2001 From: teldra Date: Tue, 13 Jun 2023 08:58:41 +0200 Subject: [PATCH] fixes --- etc/base | 2 +- main.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"