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",
|
"rxtx",
|
||||||
"avrdude", ]:
|
"avrdude", ]:
|
||||||
ensure => installed,
|
ensure => installed,
|
||||||
|
before => File["/usr/local/bin/arduino"],
|
||||||
}
|
}
|
||||||
|
|
||||||
case $architecture {
|
case $architecture {
|
||||||
|
@ -30,7 +31,7 @@ class arduino {
|
||||||
require => File["/usr/local/src/arduino.tgz"],
|
require => File["/usr/local/src/arduino.tgz"],
|
||||||
}
|
}
|
||||||
|
|
||||||
file { "/usr/bin/arduino":
|
file { "/usr/local/bin/arduino":
|
||||||
ensure => link,
|
ensure => link,
|
||||||
target => "/usr/local/lib/arduino/arduino",
|
target => "/usr/local/lib/arduino/arduino",
|
||||||
owner => "root",
|
owner => "root",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue