* Ensure to uncompress ifort archive onlyif ifort is not available on the system.
This commit is contained in:
parent
f417835f79
commit
a381759e86
|
@ -20,12 +20,14 @@ class ifort::install {
|
|||
}
|
||||
|
||||
|
||||
## Archive
|
||||
# Uncompress
|
||||
exec { "Uncompress ${ifort::ifort_pkg_path}":
|
||||
command => "zcat ${ifort::ifort_pkg_path} | tar xvf - -C ${ifort::ifort_install_tmp_path} --",
|
||||
creates => $ifort::ifort_install_script_path,
|
||||
onlyif => "test -f ${ifort::ifort_pkg_path}",
|
||||
if $::is_ifort == 'false' {
|
||||
|
||||
# Uncompress
|
||||
exec { "Uncompress ${ifort::ifort_pkg_path}":
|
||||
command => "zcat ${ifort::ifort_pkg_path} | tar xvf - -C ${ifort::ifort_install_tmp_path} --",
|
||||
creates => $ifort::ifort_install_script_path,
|
||||
onlyif => "test -f ${ifort::ifort_pkg_path}",
|
||||
}
|
||||
}
|
||||
|
||||
} # Private class: ifort::install
|
||||
|
|
Loading…
Reference in New Issue