Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 33 additions & 28 deletions docs/templates/index.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -282,21 +282,28 @@
Add the repository and install the package on Fedora or compatible
RPM-based systems:
</p>
<div class="code-block">
# Add the repository configuration sudo tee
/etc/yum.repos.d/flatpak-automatic.repo &lt;&lt;'EOF'
[flatpak-automatic] name=Flatpak Automatic - Stable baseurl=https://{{
github_repo.split('/')[0] }}.github.io/{{ github_repo.split('/')[1]
}}/rpms/latest/stable/ enabled=1 gpgcheck=1 gpgkey=https://{{
github_repo.split('/')[0] }}.github.io/{{ github_repo.split('/')[1]
}}/gpg.key [flatpak-automatic-testing] name=Flatpak Automatic -
Testing baseurl=https://{{ github_repo.split('/')[0] }}.github.io/{{
github_repo.split('/')[1] }}/rpms/latest/testing/ enabled=0 gpgcheck=1
gpgkey=https://{{ github_repo.split('/')[0] }}.github.io/{{
github_repo.split('/')[1] }}/gpg.key EOF # Update the package metadata
cache sudo dnf makecache # Install the flatpak-automatic package sudo
dnf install flatpak-automatic
</div>
<div class="code-block"># Add the repository configuration
sudo tee /etc/yum.repos.d/flatpak-automatic.repo &lt;&lt;'EOF'
[flatpak-automatic]
name=Flatpak Automatic - Stable
baseurl=https://{{ github_repo.split('/')[0] }}.github.io/{{ github_repo.split('/')[1] }}/rpms/latest/stable/
enabled=1
gpgcheck=1
gpgkey=https://{{ github_repo.split('/')[0] }}.github.io/{{ github_repo.split('/')[1] }}/gpg.key

[flatpak-automatic-testing]
name=Flatpak Automatic - Testing
baseurl=https://{{ github_repo.split('/')[0] }}.github.io/{{ github_repo.split('/')[1] }}/rpms/latest/testing/
enabled=0
gpgcheck=1
gpgkey=https://{{ github_repo.split('/')[0] }}.github.io/{{ github_repo.split('/')[1] }}/gpg.key
EOF

# Update the package metadata cache
sudo dnf makecache

# Install the flatpak-automatic package
sudo dnf install flatpak-automatic</div>
</div>

<div class="card">
Expand All @@ -305,19 +312,17 @@
Add the repository and install the package on Ubuntu, Debian, or
compatible systems:
</p>
<div class="code-block">
# Download the GPG key and convert it to a format APT understands curl
-fsSL https://{{ github_repo.split('/')[0] }}.github.io/{{
github_repo.split('/')[1] }}/gpg.key | sudo gpg --dearmor -o
/usr/share/keyrings/flatpak-automatic-archive-keyring.gpg # Add the
repository to your system's sources list echo "deb
[signed-by=/usr/share/keyrings/flatpak-automatic-archive-keyring.gpg]
https://{{ github_repo.split('/')[0] }}.github.io/{{
github_repo.split('/')[1] }}/debs stable main" | sudo tee
/etc/apt/sources.list.d/flatpak-automatic.list # Update your local
package index sudo apt-get update # Install the flatpak-automatic
package sudo apt-get install flatpak-automatic
</div>
<div class="code-block"># Download the GPG key and convert it to a format APT understands
curl -fsSL https://{{ github_repo.split('/')[0] }}.github.io/{{ github_repo.split('/')[1] }}/gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/flatpak-automatic-archive-keyring.gpg

# Add the repository to your system's sources list
echo "deb [signed-by=/usr/share/keyrings/flatpak-automatic-archive-keyring.gpg] https://{{ github_repo.split('/')[0] }}.github.io/{{ github_repo.split('/')[1] }}/debs stable main" | sudo tee /etc/apt/sources.list.d/flatpak-automatic.list

# Update your local package index
sudo apt-get update

# Install the flatpak-automatic package
sudo apt-get install flatpak-automatic</div>
</div>

<div class="card">
Expand Down
Loading