Feat: Setzt Path-Variablen.
This commit is contained in:
parent
3117e67638
commit
0230baa1f7
@ -14,6 +14,14 @@ sudo apt update && sudo apt install -y flatpak neovim
|
|||||||
# Flatpak Flathub-Repo hinzufügen
|
# Flatpak Flathub-Repo hinzufügen
|
||||||
sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
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
|
# Firefox-Installation
|
||||||
echo "🌍 Firefox wird installiert..."
|
echo "🌍 Firefox wird installiert..."
|
||||||
sudo install -d -m 0755 /etc/apt/keyrings
|
sudo install -d -m 0755 /etc/apt/keyrings
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user