„firefox.yml“ ändern

This commit is contained in:
olli 2022-08-08 17:14:05 +02:00
parent a404ace913
commit b836f0b7c5

View File

@ -21,7 +21,10 @@
group: root
mode: '0444'
backup: yes
with_items:
- "/usr/lib/firefox/distribution/policies.json"
- "/var/lib/flatpak/app/io.gitlab.librewolf-community/x86_64/stable/26847d0989a7ed9b7d5a92f32d600a9e54763246d1fcca0cebe87cdb7279869e/files/lib/librewolf/settings/distribution/policies.json"
- "/var/lib/flatpak/app/io.gitlab.librewolf-community/x86_64/stable/26847d0989a7ed9b7d5a92f32d600a9e54763246d1fcca0cebe87cdb7279869e/files/lib/librewolf/distribution/policies.json"
- name: /usr/local/sbin/autoupdate.d/video-download-helper.update
blockinfile:
@ -35,6 +38,8 @@
wget $(curl -s https://api.github.com/repos/mi-g/vdhcoapp/releases/latest | jq -r '.assets[]' | egrep "\"browser_download_url\": .+_amd64.deb" | head -n1 | cut -d"\"" -f4) -O /tmp/vdh.deb
dpkg -i /tmp/vdh.deb
rm /tmp/vdh.deb
mkdir -p /var/lib/flatpak/app/io.gitlab.librewolf-community/x86_64/stable/26847d0989a7ed9b7d5a92f32d600a9e54763246d1fcca0cebe87cdb7279869e/files/opt
cp -rp /opt/net.downloadhelper.coapp /var/lib/flatpak/app/io.gitlab.librewolf-community/x86_64/stable/26847d0989a7ed9b7d5a92f32d600a9e54763246d1fcca0cebe87cdb7279869e/files/opt/
backup: yes
validate: /bin/bash -n %s