fix: ShellCheck-Funde und Flatpak-Extra-Languages in Erstboot-Service verlagern
This commit is contained in:
1 parent
6a3a0d45f9
commit
2b0bbd72a9
5 files changed
+13
-8
No files matched your search
+2
-2
@@ -3,7 +3,7 @@ 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"
|
||||
|
||||
dnf5 clean all
|
||||
@@ -1,8 +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
|
||||
echo "Configuring Flatpak system-wide extra languages..."
|
||||
flatpak config --set extra-languages "de"
|
||||
# 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).
|
||||
Reference in new issue
Block a user