2021-05-04 17:43:00 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
# Show commands being executed
|
|
|
|
set -x
|
|
|
|
|
|
|
|
# So I don't have to remember these of wonder why my systems have different
|
|
|
|
# set of remotes and are missing something existing on another
|
2023-09-09 11:12:12 +02:00
|
|
|
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo $@
|
|
|
|
flatpak remote-add --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo $@
|
|
|
|
flatpak remote-add --if-not-exists kdeapps https://distribute.kde.org/kdeapps.flatpakrepo $@
|
|
|
|
flatpak remote-add --if-not-exists nheko-nightly https://nheko.im/nheko-reborn/nheko/-/raw/master/nheko-nightly.flatpakrepo $@
|
2022-04-29 09:13:46 +02:00
|
|
|
|
2022-05-21 20:30:49 +02:00
|
|
|
# Fedora?
|
2023-09-09 11:12:12 +02:00
|
|
|
flatpak remote-add --if-not-exists fedora oci+https://registry.fedoraproject.org $@
|
|
|
|
flatpak remote-add --if-not-exists fedora-testing oci+https://registry.fedoraproject.org#testing $@
|
2023-09-23 15:09:31 +02:00
|
|
|
|
|
|
|
# Unable to find .flatpakrepos, keep below actual repos.
|
|
|
|
#flatpak install https://ftp.gajim.org/flatpak/appstream/org.gajim.Gajim.Devel.flatpakref $@ &
|
|
|
|
|
2022-05-21 20:30:49 +02:00
|
|
|
# the previous command does nothing on Fedora as it already exists, but it still
|
|
|
|
# needs to be enabled
|
2023-09-09 11:12:12 +02:00
|
|
|
flatpak remote-modify --enable fedora-testing $@
|
2023-09-09 11:24:17 +02:00
|
|
|
# In case of similar issues on other distributions
|
|
|
|
flatpak remote-modify --enable flathub $@
|
|
|
|
flatpak remote-modify --enable flathub-beta $@
|
|
|
|
flatpak remote-modify --enable kdeapps $@
|
|
|
|
# The other repositories are very unlikely to ship by default with anything
|
2022-05-21 20:30:49 +02:00
|
|
|
|
2021-05-04 17:43:00 +02:00
|
|
|
# Hide commands being executed again
|
|
|
|
set +x
|