fix: ShellCheck- und Konfigurations-Funde (Flatpak-Service, kanshi, Shebangs, bing-Service)

This commit is contained in:
humocs-man committed 2026-10-21 17:39:33 +02:00
1 parent d852b719fa
commit d787c770cb
12 files changed
+24 -29

No files matched your search

+2 -2
View File
@@ -3,8 +3,8 @@ set -eoux pipefail
FEDORA_VERSION="$(rpm -E %fedora)"
dnf5 install -y \
https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-${FEDORA_VERSION}.noarch.rpm \
https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-${FEDORA_VERSION}.noarch.rpm
"https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-${FEDORA_VERSION}.noarch.rpm" \
"https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-${FEDORA_VERSION}.noarch.rpm"
# Terra-Repository (Fyralabs) fuer noctalia-greeter.
# Die Shell (Paket `noctalia`, v5) liegt in den offiziellen Fedora-Repos,
+2 -2
View File
@@ -40,8 +40,8 @@ dnf5 install -y \
adw-gtk3-theme \
dconf \
gsettings-desktop-schemas \
f${FEDORA_VERSION}-backgrounds-base \
f${FEDORA_VERSION}-backgrounds-gnome \
"f${FEDORA_VERSION}-backgrounds-base" \
"f${FEDORA_VERSION}-backgrounds-gnome" \
fedora-workstation-backgrounds \
gnome-backgrounds
+3 -6
View File
@@ -24,12 +24,9 @@ cp /tmp/plymouth-theme/fluffy.plymouth /tmp/plymouth-theme/fluffy.script \
# Logo aus dem signierten Paket (kein Download, kein Artwork im Repo).
# Fail-fast: ohne Logo kein Splash mit Bild.
LOGO=""
for candidate in /usr/share/pixmaps/fedora-logo.png; do
if [[ -f "${candidate}" ]]; then
LOGO="${candidate}"
break
fi
done
if [[ -f /usr/share/pixmaps/fedora-logo.png ]]; then
LOGO="/usr/share/pixmaps/fedora-logo.png"
fi
if [[ -z "${LOGO}" ]]; then
echo "FEHLER: kein Fedora-Logo in fedora-logos gefunden"
exit 1
+3 -3
View File
@@ -1,9 +1,9 @@
#!/usr/bin/env bash
set -oue pipefail
#!/usr/bin/bash
set -eoux pipefail
echo "Downloading Flathub repository definition..."
mkdir -p /usr/share/flatpak/remotes.d/
curl -f --retry 3 --retry-delay 5 -o /usr/share/flatpak/remotes.d/flathub.flatpakrepo https://dl.flathub.org/repo/flathub.flatpakrepo
# HINWEIS: `flatpak config --set extra-languages` steht bewusst NICHT hier:
# Es schreibt nach /var (verworfen beim Deployment) und laeuft stattdessen
# im flatpak-preinstall.service beim Erstboot (dort ist /var live).
# im flatpak-preinstall.service beim Erstboot (dort ist /var live).