[Ubuntu] put snap.sh upper environment cleanup (#4847)
This commit is contained in:
@@ -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": [
|
||||||
|
|||||||
@@ -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": [
|
||||||
|
|||||||
Reference in New Issue
Block a user