recipe: use apx instead of apt

main
Mirko Brombin 2 years ago
parent 4810db05f7
commit e5d1ecab2e

@ -3,12 +3,12 @@
"distro_name": "Vanilla OS", "distro_name": "Vanilla OS",
"distro_logo": "io.github.vanilla-os.FirstSetup", "distro_logo": "io.github.vanilla-os.FirstSetup",
"pre_run": [ "pre_run": [
"sudo apt update", "sudo apx --sys update",
"sudo apt install -f" "sudo apx --sys install -f"
], ],
"post_run": [ "post_run": [
"sudo apt update", "sudo apx --sys update",
"sudo apt install -f" "sudo apx --sys install -f"
], ],
"tour": { "tour": {
"almost": { "almost": {
@ -45,7 +45,7 @@
"if": "warp::immutability", "if": "warp::immutability",
"type": "command", "type": "command",
"commands": [ "commands": [
"sudo apt remove -y gnome-software" "sudo apx --sys remove -y gnome-software"
] ]
} }
] ]
@ -73,7 +73,7 @@
"if": "flatpak", "if": "flatpak",
"type": "command", "type": "command",
"commands": [ "commands": [
"sudo apt install -y flatpak gnome-software-plugin-flatpak", "sudo apx --sys 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\"]'" "gsettings set org.gnome.software packaging-format-preference '[\"flatpak\", \"snap\", \"deb\"]'"
] ]
@ -82,14 +82,14 @@
"if": "snap", "if": "snap",
"type": "command", "type": "command",
"commands": [ "commands": [
"sudo apt install -y snapd", "sudo apx --sys install -y snapd",
"gsettings set org.gnome.software packaging-format-preference '[\"flatpak\", \"snap\", \"deb\"]'" "gsettings set org.gnome.software packaging-format-preference '[\"flatpak\", \"snap\", \"deb\"]'"
] ]
}, },
{ {
"if": "appimage", "if": "appimage",
"type": "command", "type": "command",
"commands": ["sudo apt install -y fuse2 libfuse2"] "commands": ["sudo apx --sys install -y fuse2 libfuse2"]
} }
] ]
}, },
@ -135,7 +135,7 @@
"if": "apport", "if": "apport",
"type": "command", "type": "command",
"commands": [ "commands": [
"sudo apt install -y apport", "sudo apx --sys install -y apport",
"systemctl enable apport.service || true" "systemctl enable apport.service || true"
] ]
}, },
@ -144,7 +144,7 @@
"condition": false, "condition": false,
"type": "command", "type": "command",
"commands": [ "commands": [
"sudo apt remove -y apport", "sudo apx --sys remove -y apport",
"systemctl disable apport.service || true" "systemctl disable apport.service || true"
] ]
} }

Loading…
Cancel
Save