shellcheck fixes

This commit is contained in:
Tobias Powalowski 2022-06-21 22:28:31 +02:00
parent 1d0372ddac
commit 84ea9a6d1a
3 changed files with 3 additions and 1 deletions

View file

@ -94,6 +94,7 @@ _prepare_pacman() {
mount shm "${1}/dev/shm" -t tmpfs -o mode=1777,nosuid,nodev mount shm "${1}/dev/shm" -t tmpfs -o mode=1777,nosuid,nodev
} }
#shellcheck disable=SC2120
_create_pacman_conf() { _create_pacman_conf() {
if [[ -z "${_INSTALL_SOURCE}" ]]; then if [[ -z "${_INSTALL_SOURCE}" ]]; then
echo "Use default pacman.conf ..." echo "Use default pacman.conf ..."

View file

@ -41,8 +41,8 @@ EOF
_start_gnome() { _start_gnome() {
echo -e "Launching GNOME now, logging is done on \033[1m/dev/tty8\033[0m ..." echo -e "Launching GNOME now, logging is done on \033[1m/dev/tty8\033[0m ..."
#shellcheck disable=SC2129
echo "export XDG_SESSION_TYPE=x11" > /root/.xinitrc echo "export XDG_SESSION_TYPE=x11" > /root/.xinitrc
#shellcheck disable=SC2129
echo "export GDK_BACKEND=x11" >> /root/.xinitrc echo "export GDK_BACKEND=x11" >> /root/.xinitrc
echo "export LANG=C.UTF-8" >> /root/.xinitrc echo "export LANG=C.UTF-8" >> /root/.xinitrc
echo "exec dbus-launch gnome-session" >> /root/.xinitrc echo "exec dbus-launch gnome-session" >> /root/.xinitrc

View file

@ -9,6 +9,7 @@ KERNELPKG="linux"
[[ "${RUNNING_ARCH}" == "x86_64" ]] && VMLINUZ="vmlinuz-${KERNELPKG}" [[ "${RUNNING_ARCH}" == "x86_64" ]] && VMLINUZ="vmlinuz-${KERNELPKG}"
if [[ "${RUNNING_ARCH}" == "aarch64" ]]; then if [[ "${RUNNING_ARCH}" == "aarch64" ]]; then
VMLINUZ="Image.gz" VMLINUZ="Image.gz"
#shellcheck disable=SC2034
VMLINUZ_EFISTUB="Image" VMLINUZ_EFISTUB="Image"
fi fi
# abstract the common pacman args # abstract the common pacman args