This commit is contained in:
teldra 2023-06-13 08:58:41 +02:00
parent ac192c963d
commit 75c0c93d3d
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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"