Skip to content

Commit

Permalink
[Ubuntu] put snap.sh upper environment cleanup (#4847)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhailkoliada authored Jan 9, 2022
1 parent cd45392 commit 97368aa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions images/linux/ubuntu1804.json
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,11 @@
],
"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",
"expect_disconnect": true,
Expand All @@ -316,11 +321,6 @@
"script": "{{template_dir}}/scripts/base/apt-mock-remove.sh",
"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",
"inline": [
Expand Down
10 changes: 5 additions & 5 deletions images/linux/ubuntu2004.json
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,11 @@
],
"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",
"expect_disconnect": true,
Expand All @@ -317,11 +322,6 @@
"script": "{{template_dir}}/scripts/base/apt-mock-remove.sh",
"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",
"inline": [
Expand Down

0 comments on commit 97368aa

Please sign in to comment.