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
@ -4,7 +4,7 @@ Release: 3%{?dist}
|
|||||||
Summary: Set up a Mullvad qube and disposable template
|
Summary: Set up a Mullvad qube and disposable template
|
||||||
|
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
SOURCE0: mullvad
|
SOURCE0: mullvad
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package creates a template, loaded with the MullvadVPN GUI and Mullvad Browser.
|
This package creates a template, loaded with the MullvadVPN GUI and Mullvad Browser.
|
||||||
@ -50,8 +50,9 @@ if [ $1 -eq 1 ]; then
|
|||||||
qubesctl --skip-dom0 --targets=sys-mullvad state.apply mullvad.configure
|
qubesctl --skip-dom0 --targets=sys-mullvad state.apply mullvad.configure
|
||||||
elif [ $1 -eq 2 ]; then
|
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
|
||||||
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=sys-mullvad state.apply mullvad.configure
|
||||||
|
qubesctl --skip-dom0 --targets=mullvad-dvm state.apply mullvad.browser_client
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%postun
|
%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:
|
/etc/skel/Downloads/mullvad_browser-linux-x86_64-13.0.16.tar.xz:
|
||||||
file.managed:
|
file.managed:
|
||||||
- source:
|
- 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:
|
/home/user/Downloads/mullvad_browser-linux-x86_64-13.0.16.tar.xz:
|
||||||
file.managed:
|
file.managed:
|
||||||
- source:
|
- source:
|
||||||
|
Loading…
Reference in New Issue
Block a user