* 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
|
if $::is_ifort == 'false' {
|
||||||
# Uncompress
|
|
||||||
exec { "Uncompress ${ifort::ifort_pkg_path}":
|
# Uncompress
|
||||||
command => "zcat ${ifort::ifort_pkg_path} | tar xvf - -C ${ifort::ifort_install_tmp_path} --",
|
exec { "Uncompress ${ifort::ifort_pkg_path}":
|
||||||
creates => $ifort::ifort_install_script_path,
|
command => "zcat ${ifort::ifort_pkg_path} | tar xvf - -C ${ifort::ifort_install_tmp_path} --",
|
||||||
onlyif => "test -f ${ifort::ifort_pkg_path}",
|
creates => $ifort::ifort_install_script_path,
|
||||||
|
onlyif => "test -f ${ifort::ifort_pkg_path}",
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
} # Private class: ifort::install
|
} # Private class: ifort::install
|
||||||
|
|
Loading…
Reference in New Issue