File tree Expand file tree Collapse file tree 5 files changed +21
-0
lines changed Expand file tree Collapse file tree 5 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 3838 description = "Add alternative for #{ cmd } "
3939 converge_by ( description ) do
4040 Chef ::Log . debug "Adding alternative for #{ cmd } "
41+ shell_out ( "rm /var/lib/alternatives/#{ cmd } " )
4142 install_cmd = shell_out ( "#{ alternatives_cmd } --install #{ bin_path } #{ cmd } #{ alt_path } #{ priority } " )
4243 unless install_cmd . exitstatus == 0
4344 Chef ::Application . fatal! ( %Q[ set alternative failed ] )
Original file line number Diff line number Diff line change 77 run test -d $JAVA_HOME
88 [ " $status " -eq 0 ]
99}
10+
11+ @test " properly links jar" {
12+ run test -L /usr/bin/jar
13+ [ " $status " -eq 0 ]
14+ }
Original file line number Diff line number Diff line change 77 run test -d $JAVA_HOME
88 [ " $status " -eq 0 ]
99}
10+
11+ @test " properly links jar" {
12+ run test -L /usr/bin/jar
13+ [ " $status " -eq 0 ]
14+ }
Original file line number Diff line number Diff line change 77 run test -d $JAVA_HOME
88 [ " $status " -eq 0 ]
99}
10+
11+ @test " properly links jar" {
12+ run test -L /usr/bin/jar
13+ [ " $status " -eq 0 ]
14+ }
Original file line number Diff line number Diff line change 77 run test -d $JAVA_HOME
88 [ " $status " -eq 0 ]
99}
10+
11+ @test " properly links jar" {
12+ run test -L /usr/bin/jar
13+ [ " $status " -eq 0 ]
14+ }
You can’t perform that action at this time.
0 commit comments