Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-cli
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Operations
Operations
Metrics
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-cli
Commits
45b24216
Unverified
Commit
45b24216
authored
Aug 20, 2020
by
Cristian Maglie
Committed by
GitHub
Aug 20, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow post_install for untrusted platforms (#911)
parent
2f875835
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
commands/core/install.go
commands/core/install.go
+1
-1
No files found.
commands/core/install.go
View file @
45b24216
...
...
@@ -140,7 +140,7 @@ func installPlatform(pm *packagemanager.PackageManager,
}
// Perform post install
if
!
skipPostInstall
&&
platformRelease
.
IsTrusted
{
if
!
skipPostInstall
{
log
.
Info
(
"Running post_install script"
)
taskCB
(
&
rpc
.
TaskProgress
{
Message
:
"Configuring platform (post_install run)"
})
if
err
:=
pm
.
RunPostInstallScript
(
platformRelease
);
err
!=
nil
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment