From ba27ff637a30c3262c7ef8cd64145f958ae06709 Mon Sep 17 00:00:00 2001 From: Tau Date: Sat, 27 Jan 2024 22:06:51 +0100 Subject: [PATCH] sets sideload as the default for debian packages --- modules/00-vanilla-sideload.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/00-vanilla-sideload.yml b/modules/00-vanilla-sideload.yml index 6681247..65565e7 100644 --- a/modules/00-vanilla-sideload.yml +++ b/modules/00-vanilla-sideload.yml @@ -28,7 +28,9 @@ modules: - make - meson - python3 -# - name: set-mimetype -# type: shell -# commands: -# - sed -i 's/application\/x-deb=org\.gnome\.FileRoller\.desktop/application\/x-deb=org\.vanillaos\.Sideload\.desktop/' /usr/share/applications/gnome-mimeapps.list \ No newline at end of file +- name: set-mimetype + type: shell + commands: + - mkdir -p /etc/skel/.config + - printf '[Default Applications]\n' > /etc/skel/.config/mimeapps.list + - printf 'application/vnd.debian.binary-package=org.vanillaos.Sideload.desktop\n' >> /etc/skel/.config/mimeapps.list