From 47f5a760e38b1a14f6e426ade6a9ad42d0bedf3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iwan=20Cl=C3=A9ment?= Date: Sun, 3 Mar 2019 21:23:19 +0100 Subject: [PATCH] ok ? --- softwares/veracrypt.sls | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/softwares/veracrypt.sls b/softwares/veracrypt.sls index ee5ee00..a849a2e 100644 --- a/softwares/veracrypt.sls +++ b/softwares/veracrypt.sls @@ -42,5 +42,21 @@ - /tmp/veracrypt-{{VERA_VERSION}}-setup-gui-x64 - /tmp/veracrypt-{{VERA_VERSION}}-setup-gui-x86 - /tmp/veracrypt-{{VERA_VERSION}}-setup.tar.bz2 + +'make binarie file': + cmd.run: + - name: 'tail -n -1107 /tmp/veracrypt_install_gui_x64.sh >/tmp/binarie.tar' + - cwd: /tmp + +'final install': + cmd.run: + - name: 'tar -xf /tmp/binarie.tar' + - cwd: / + +'remove temp files': + file.absent: + - names: + - /tmp/binarie.tar + - /tmp/veracrypt_install_gui_x64.sh {% endif %} \ No newline at end of file