misc: Prefer flatpak/snap over deb

main
Mirko Brombin 2 years ago
parent f9707a4d4a
commit 7a7ee36922

@ -52,13 +52,17 @@
"type": "command", "type": "command",
"commands": [ "commands": [
"sudo apt install -y flatpak gnome-software-plugin-flatpak", "sudo apt install -y flatpak gnome-software-plugin-flatpak",
"flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo" "flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo",
"gsettings set org.gnome.software packaging-format-preference '[\"flatpak\", \"snap\", \"deb\"]'"
] ]
}, },
{ {
"if": "snap", "if": "snap",
"type": "command", "type": "command",
"commands": ["sudo apt install -y snapd"] "commands": [
"sudo apt install -y snapd",
"gsettings set org.gnome.software packaging-format-preference '[\"snap\", \"flatpak\", \"deb\"]'"
]
}, },
{ {
"if": "appimage", "if": "appimage",

Loading…
Cancel
Save