[Ubuntu] put snap.sh upper environment cleanup (#4847)

This commit is contained in:
Mikhail Koliada
2022-01-09 11:40:39 +03:00
committed by GitHub
parent cd453927ca
commit 97368aa175
2 changed files with 10 additions and 10 deletions
+5 -5
View File
@@ -294,6 +294,11 @@
], ],
"execute_command": "/bin/sh -c '{{ .Vars }} {{ .Path }}'" "execute_command": "/bin/sh -c '{{ .Vars }} {{ .Path }}'"
}, },
{
"type": "shell",
"script": "{{template_dir}}/scripts/base/snap.sh",
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
},
{ {
"type": "shell", "type": "shell",
"expect_disconnect": true, "expect_disconnect": true,
@@ -316,11 +321,6 @@
"script": "{{template_dir}}/scripts/base/apt-mock-remove.sh", "script": "{{template_dir}}/scripts/base/apt-mock-remove.sh",
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'" "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
}, },
{
"type": "shell",
"script": "{{template_dir}}/scripts/base/snap.sh",
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
},
{ {
"type": "shell", "type": "shell",
"inline": [ "inline": [
+5 -5
View File
@@ -295,6 +295,11 @@
], ],
"execute_command": "/bin/sh -c '{{ .Vars }} {{ .Path }}'" "execute_command": "/bin/sh -c '{{ .Vars }} {{ .Path }}'"
}, },
{
"type": "shell",
"script": "{{template_dir}}/scripts/base/snap.sh",
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
},
{ {
"type": "shell", "type": "shell",
"expect_disconnect": true, "expect_disconnect": true,
@@ -317,11 +322,6 @@
"script": "{{template_dir}}/scripts/base/apt-mock-remove.sh", "script": "{{template_dir}}/scripts/base/apt-mock-remove.sh",
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'" "execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
}, },
{
"type": "shell",
"script": "{{template_dir}}/scripts/base/snap.sh",
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
},
{ {
"type": "shell", "type": "shell",
"inline": [ "inline": [