diff --git a/note b/note new file mode 100644 index 0000000..e69de29 diff --git a/src/install.sh b/src/install.sh index 6517815..e0e58d1 100755 --- a/src/install.sh +++ b/src/install.sh @@ -12,5 +12,7 @@ if [[ $PWD != '/opt/debian-gnome' ]]; then sudo rm -rf /opt/debian-gnome sudo git clone --depth=1 https://git.artcode.re/pvincent/debian-gnome /opt/debian-gnome fi - /opt/debian-gnome/src/bookworm.sh + + version_codename=$(grep VERSION_CODENAME /etc/os-release | cut -d= -f2) + /opt/debian-gnome/src/"$version_codename".sh fi diff --git a/src/trixie.sh b/src/trixie.sh index 7281efb..7d2ce1b 100755 --- a/src/trixie.sh +++ b/src/trixie.sh @@ -402,6 +402,14 @@ function clear_system_extensions { sudo rm /usr/share/gnome-shell/extensions/* -rf } +function install_flatpak { + sudo apt install -y flatpak gnome-software-plugin-flatpak + flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo + if ! (echo $XDG_DATA_DIRS | grep -q flatpak); then + LOGOUT_REQUIRED=true + fi +} + ## MAIN ## --------- @@ -421,6 +429,7 @@ favorite_apps # golden_dict clear_system_extensions gnome_extensions +install_flatpak firefox_addons firefox_settings libre_re_pixmap