Mullvad -update browser in place

This commit is contained in:
unman 2024-04-19 14:52:31 +00:00
parent 9f535345dd
commit 276aa10fc0
No known key found for this signature in database
GPG Key ID: FDD1B8244731B36C
2 changed files with 71 additions and 0 deletions

21
mullvad/browser_qube.sls Normal file
View File

@ -0,0 +1,21 @@
extract_mullvad-browser:
archive.extracted:
- name: /home/user/
- source: /etc/skel/Downloads/mullvad_browser-linux-x86_64-13.0.13.tar.xz
- user: user
/home/user/.local/share/applications/start-mullvad-browser.desktop:
file.managed:
- source: salt://mullvad/start-mullvad-browser.desktop
- makedirs: True
- user: user
#################################
cp mullvad-browser/Data/profiles.ini ~
cp -rv mullvad-browser/Data/*-release .
rm -rf mullvad-browser/
tar xf QubesIncoming/unman/mullvad-browser-linux-x86_64-13.0.13.tar.xz
mkdir mullvad-browser/Data
cp profiles.ini mullvad-browser/Data
mv *default-release mullvad-browser/Data/

View File

@ -0,0 +1,50 @@
/etc/skel/Downloads/mullvad_browser-linux-x86_64-13.0.10.tar.xz:
file.absent
/etc/skel/Downloads/mullvad_browser-linux-x86_64-13.0.13.tar.xz:
file.managed:
- source:
- salt://mullvad/mullvad-browser-linux-x86_64-13.0.13.tar.xz
- user: root
- group: root
- makedirs: True
mullvad-browser-linux-x86_64-13.0.13.tar.xz:
archive.extracted:
- name: /etc/skel
- source: /etc/skel/Downloads/mullvad_browser-linux-x86_64-13.0.13.tar.xz
- user: user
/etc/skel/.local/share/applications/start-mullvad-browser.desktop:
file.managed:
- source: salt://mullvad/start-mullvad-browser.desktop
- makedirs: True
- user: user
/etc/skel/.local/share/applications/mimeinfo.cache:
file.managed:
- source: salt://mullvad/mimeinfo.cache
- makedirs: True
- user: user
/home/user/.local/share/applications/start-mullvad-browser.desktop:
file.managed:
- source: salt://mullvad/start-mullvad-browser.desktop
- makedirs: True
- user: user
/home/user/.local/share/applications/mimeinfo.cache:
file.managed:
- source: salt://mullvad/mimeinfo.cache
- makedirs: True
- user: user
browser_dependencies:
pkg.installed:
- skip_suggestions: True
- install_recommends: False
- pkgs:
- libdbus-glib-1-2
- libnss3
- desktop-file-utils
- kdialog