Moved arduino command to /usr/local/bin and fixed some depencies.
This commit is contained in:
parent
25eb2330f1
commit
086ae963dd
1 changed files with 2 additions and 1 deletions
|
@ -9,6 +9,7 @@ class arduino {
|
|||
"rxtx",
|
||||
"avrdude", ]:
|
||||
ensure => installed,
|
||||
before => File["/usr/local/bin/arduino"],
|
||||
}
|
||||
|
||||
case $architecture {
|
||||
|
@ -30,7 +31,7 @@ class arduino {
|
|||
require => File["/usr/local/src/arduino.tgz"],
|
||||
}
|
||||
|
||||
file { "/usr/bin/arduino":
|
||||
file { "/usr/local/bin/arduino":
|
||||
ensure => link,
|
||||
target => "/usr/local/lib/arduino/arduino",
|
||||
owner => "root",
|
||||
|
|
Loading…
Add table
Reference in a new issue