Merge pull request #1563 from miketimofeev/v-mitim/test_announce

[Ubuntu] Fix announcements rendering
This commit is contained in:
Maxim Lobanov
2020-09-09 19:03:40 +03:00
committed by GitHub
3 changed files with 6 additions and 6 deletions

View File

@@ -100,6 +100,7 @@
},
{
"type": "shell",
"execute_command": "chmod +x {{ .Path }}; sudo {{ .Vars }} {{ .Path }}",
"scripts":[
"{{template_dir}}/scripts/installers/preparemetadata.sh"
],
@@ -108,8 +109,7 @@
"METADATA_FILE={{user `metadata_file`}}",
"HELPER_SCRIPTS={{user `helper_script_folder`}}",
"ANNOUNCEMENTS={{user `announcements`}}"
],
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
]
},
{
"type": "shell",

View File

@@ -103,6 +103,7 @@
},
{
"type": "shell",
"execute_command": "chmod +x {{ .Path }}; sudo {{ .Vars }} {{ .Path }}",
"scripts":[
"{{template_dir}}/scripts/installers/preparemetadata.sh"
],
@@ -111,8 +112,7 @@
"METADATA_FILE={{user `metadata_file`}}",
"HELPER_SCRIPTS={{user `helper_script_folder`}}",
"ANNOUNCEMENTS={{user `announcements`}}"
],
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
]
},
{
"type": "shell",

View File

@@ -105,6 +105,7 @@
},
{
"type": "shell",
"execute_command": "chmod +x {{ .Path }}; sudo {{ .Vars }} {{ .Path }}",
"scripts":[
"{{template_dir}}/scripts/installers/preparemetadata.sh"
],
@@ -113,8 +114,7 @@
"METADATA_FILE={{user `metadata_file`}}",
"HELPER_SCRIPTS={{user `helper_script_folder`}}",
"ANNOUNCEMENTS={{user `announcements`}}"
],
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
]
},
{
"type": "shell",