mirror of
https://github.com/unman/shaker.git
synced 2024-10-01 01:25:41 -04:00
Fix errors in proton spec file.
Set mullvad version to match upstream
This commit is contained in:
parent
9ab9719cbf
commit
a7b8d89ad7
@ -1,5 +1,5 @@
|
||||
Name: 3isec-qubes-mullvad-vpn
|
||||
Version: 2.01
|
||||
Version: 2023.6
|
||||
Release: 1%{?dist}
|
||||
Summary: Set up a Mullvad qube and disposable template
|
||||
|
||||
|
14
proton.spec
14
proton.spec
@ -1,6 +1,6 @@
|
||||
Name: 3isec-qubes-proton-vpn
|
||||
Version: 1.01
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Set up a qube for Proton VPN use
|
||||
|
||||
License: GPLv3+
|
||||
@ -17,9 +17,8 @@ The template, template-proton, is based on the debian-12-minimal template.
|
||||
If the debian-12-minimal template is not present, it will be downloaded
|
||||
and installed - this may take some time depending on your net connection.
|
||||
|
||||
If you remove this package, the salt files will be removed, but the proton
|
||||
template and qube will not.
|
||||
You can manually remove them if you wish.
|
||||
If you remove this package, the salt files will be removed, and the proton
|
||||
template and qube will be killed and an attempt made to remove them.
|
||||
|
||||
You can, of course, use the template-proton to create other qubes for
|
||||
separate VPN connections.
|
||||
@ -36,13 +35,14 @@ cp -rv %{SOURCE0}/ %{buildroot}/srv/salt
|
||||
%post
|
||||
if [ $1 -eq 1 ]; then
|
||||
qubesctl state.apply proton.create
|
||||
qubesctl --skip-dom0 --targets=template-proton state.apply proton.repo
|
||||
qubesctl state.apply proton.install_repo
|
||||
qubesctl state.apply proton.install
|
||||
qubesctl --skip-dom0 --targets=template-proton state.apply proton.install_repo
|
||||
qubesctl --skip-dom0 --targets=template-proton state.apply proton.install
|
||||
fi
|
||||
|
||||
%postun
|
||||
if [ $1 -eq 0 ]; then
|
||||
qvm-kill proton template-proton
|
||||
qvm-remove -f proton template-proton
|
||||
fi
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user