mirror of
https://github.com/unman/shaker.git
synced 2024-10-01 01:25:41 -04:00
Mullvad - ensure Browser is updated in clients
This commit is contained in:
parent
746564f222
commit
1cac51ac2f
@ -50,8 +50,9 @@ if [ $1 -eq 1 ]; then
|
||||
qubesctl --skip-dom0 --targets=sys-mullvad state.apply mullvad.configure
|
||||
elif [ $1 -eq 2 ]; then
|
||||
qubesctl --skip-dom0 --targets=template-mullvad state.apply mullvad.browser
|
||||
qubesctl --skip-dom0 --targets=template-mullvad state.apply mullvad.browser_client
|
||||
qubesctl --skip-dom0 --targets=sys-mullvad state.apply mullvad.browser_client
|
||||
qubesctl --skip-dom0 --targets=sys-mullvad state.apply mullvad.configure
|
||||
qubesctl --skip-dom0 --targets=mullvad-dvm state.apply mullvad.browser_client
|
||||
fi
|
||||
|
||||
%postun
|
||||
|
@ -1,3 +1,13 @@
|
||||
delete_old_mullvad_browser_version:
|
||||
file.absent:
|
||||
- name: '/etc/skel/mullvad-browser'
|
||||
|
||||
{% for archive in salt['file.find']('/etc/skel/Downloads/', name='mullvad_browser*') %}
|
||||
{{ archive }}_remove:
|
||||
file.absent:
|
||||
- name: {{ archive }}
|
||||
{% endfor %}
|
||||
|
||||
/etc/skel/Downloads/mullvad_browser-linux-x86_64-13.0.16.tar.xz:
|
||||
file.managed:
|
||||
- source:
|
||||
|
@ -1,3 +1,9 @@
|
||||
{% for archive in salt['file.find']('/home/user/Downloads/', name='mullvad_browser*') %}
|
||||
{{ archive }}_remove:
|
||||
file.absent:
|
||||
- name: {{ archive }}
|
||||
{% endfor %}
|
||||
|
||||
/home/user/Downloads/mullvad_browser-linux-x86_64-13.0.16.tar.xz:
|
||||
file.managed:
|
||||
- source:
|
||||
|
Loading…
Reference in New Issue
Block a user