Feat: Setzt Path-Variablen.

This commit is contained in:
DragonSlayer_14 2025-02-24 12:17:30 +01:00
parent 3117e67638
commit 0230baa1f7

View File

@ -14,6 +14,14 @@ sudo apt update && sudo apt install -y flatpak neovim
# Flatpak Flathub-Repo hinzufügen
sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
# XDG_DATA_DIRS für Flatpak dauerhaft setzen
XDG_CONFIG_FILE="$HOME/.profile"
XDG_EXPORT="export XDG_DATA_DIRS=\"/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share:$XDG_DATA_DIRS\""
if ! grep -Fxq "$XDG_EXPORT" "$XDG_CONFIG_FILE"; then
echo "$XDG_EXPORT" >> "$XDG_CONFIG_FILE"
echo "✅ XDG_DATA_DIRS dauerhaft in .profile gesetzt."
fi
# Firefox-Installation
echo "🌍 Firefox wird installiert..."
sudo install -d -m 0755 /etc/apt/keyrings