don't set LANG in common.sh

This commit is contained in:
Tobias Powalowski 2024-06-14 15:54:30 +02:00
parent 97328aa06b
commit d14bdf8cf8
3 changed files with 10 additions and 5 deletions

View file

@ -1,7 +1,6 @@
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-3.0-or-later
# created by Tobias Powalowski <tpowa@archlinux.org>
LANG=C.UTF-8
. /etc/archboot/defaults
_BASENAME=${0##*/}
_RUNNING_ARCH="$(uname -m)"

View file

@ -3,7 +3,7 @@
# created by Tobias Powalowski <tpowa@archlinux.org>
_cleanup_install() {
rm -rf /usr/share/{man,help,gir-[0-9]*,info,doc,gtk-doc,ibus,perl[0-9]*}
rm -rf /usr/share/{man,help,info,doc,gtk-doc}
rm -rf /usr/include
rm -rf /usr/lib/libgo.*
}
@ -104,8 +104,14 @@ _prepare_graphic() {
systemd-sysusers >"${_LOG}" 2>&1
systemd-tmpfiles --create >"${_LOG}" 2>&1
# fixing dbus requirements
systemctl reload dbus
systemctl reload dbus-org.freedesktop.login1.service
for i in dbus dbus-org.freedesktop.login1.service
systemctl reload ${i}
sleep 1
done
for i in avahi-daemon polkit; do
systemctl restart "${i}"
sleep 1
done
}
_custom_wayland_xorg() {

View file

@ -45,7 +45,7 @@ _start_gnome() {
chmod 755 /usr/bin/gnome-wayland
systemctl restart dbus
systemctl restart polkit
systemctl restart avahi
systemctl restart avahi-daemon
systemctl restart ibus
systemctl restart usbguard
gnome-wayland