Compare commits

..

No commits in common. "31cab37f43c26395794794cd9c7baf9b36cb8070" and "7b2b7ef109b10001b74938930f192ac8525df343" have entirely different histories.

2 changed files with 33 additions and 0 deletions

View File

@ -23,6 +23,7 @@ fi'
# Saubere Lösung über /etc/profile.d/ # Saubere Lösung über /etc/profile.d/
echo "$CONFIG_BLOCK" > /etc/profile.d/custom_path.sh echo "$CONFIG_BLOCK" > /etc/profile.d/custom_path.sh
chmod +x /etc/profile.d/custom_path.sh
# Sudo-Hinweis für bash.bashrc # Sudo-Hinweis für bash.bashrc
SUDO_HINT_BLOCK='# sudo hint SUDO_HINT_BLOCK='# sudo hint

View File

@ -14,6 +14,38 @@ 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 setzen in /etc/profile.d/flatpak_env.sh
sudo tee /etc/profile.d/flatpak.sh > /dev/null << 'EOF'
if command -v flatpak > /dev/null; then
new_dirs=$(
(
unset G_MESSAGES_DEBUG
echo "${XDG_DATA_HOME:-"$HOME/.local/share"}/flatpak"
GIO_USE_VFS=local flatpak --installations
) | (
new_dirs=
while read -r install_path
do
share_path=$install_path/exports/share
case ":$XDG_DATA_DIRS:" in
(*":$share_path:"*) :;;
(*":$share_path/:"*) :;;
(*) new_dirs=${new_dirs:+${new_dirs}:}$share_path;;
esac
done
echo "$new_dirs"
)
)
export XDG_DATA_DIRS
XDG_DATA_DIRS="${new_dirs:+${new_dirs}:}${XDG_DATA_DIRS:-/usr/local/share:/usr/share}"
unset new_dirs
fi
EOF
sudo chmod +x /etc/profile.d/flatpak.sh
# 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