Skip to content

Commit

Permalink
profiles: add flathub
Browse files Browse the repository at this point in the history
  • Loading branch information
joostruis committed Jan 30, 2025
1 parent 336bc10 commit 538d441
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/mocaccino/profiles/collection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,10 @@ packages:
requires:
- <<: *yip
- <<: *cli
- name: flathub
category: system-profile
version: "0.1"
description: "Add Flathub repo if Flatpak is installed"
requires:
- <<: *yip
- <<: *cli
9 changes: 9 additions & 0 deletions packages/mocaccino/profiles/profiles/flathub.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
stages:
reconcile:
- name: "enable flathub if needed"
commands:
- |
if command -v flatpak &>/dev/null; then
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
fi
name: "add flathub"

0 comments on commit 538d441

Please sign in to comment.