programm ubuntu aktualisiert

This commit is contained in:
sebastian.zell 2024-12-31 10:46:04 +00:00
parent 70529930b8
commit d98fa1c161
1 changed files with 25 additions and 6 deletions

View File

@ -1,5 +1,8 @@
#!/bin/bash
# ================================
# Skript zur Konfiguration von Debian
# ================================
@ -48,16 +51,21 @@ APT_PACKAGES=(
"terminator"
)
SNAP_PACKAGES=(
"spotify"
"bitwarden"
"whatsapp-linux-app"
"notes"
"chatgpt-desktop"
"bw"
)
FLATPAK_PACKAGES=(
"com.spotify.Client"
"com.bitwarden.desktop"
"com.github.philip_scott.notes-up"
"com.rustdesk.RustDesk"
""
)
ALTERNATIVES=(
"whatsapp-linux-app: Alternative: WhatsApp Web im Browser verwenden."
"chatgpt-desktop: Alternative: ChatGPT über die Weboberfläche nutzen."
"none"
)
DOWNLOAD_DIR=~/deb_packages
@ -118,6 +126,16 @@ install_flatpak_packages() {
done
}
# Funktion: snap installieren und Pakete einrichten
install_snap_packages() {
for SNAP in "${SNAP_PACKAGES[@]}"; do
echo "Installiere $SNAP..."
snap install "$SNAP" --classic
done
}
# Funktion: Zusätzliche .deb-Pakete herunterladen und installieren
install_deb_packages() {
echo -e "${GREEN}Lade zusätzliche .deb-Pakete herunter...${NC}"
@ -185,6 +203,7 @@ echo "Alle Benutzer haben Zugriff auf diesen Ordner."
update_sources
install_apt_packages
install_flatpak_packages
install_snap_packages
install_deb_packages
show_alternatives
autofs