feat(system-flatpak-install): Opt out of Fedora's third party repositories

This commit is contained in:
RJ Trujillo 2023-08-08 22:27:34 -06:00 committed by GitHub
parent fd38d2706e
commit c4f69ead45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,11 @@
#!/usr/bin/env bash
source /etc/default/bazzite
if grep -qz 'fedora' <<< $(flatpak remotes); then
/usr/lib/fedora-third-party/fedora-third-party-opt-out
/usr/bin/fedora-third-party disable
fi
if [[ -f '/etc/flatpak/install' ]]; then
cat /etc/flatpak/install | while read line; do
flatpak install --system --noninteractive flathub $line