using unxz now for decompressing archive, for those stuck on tar version 1.30 and below.
This commit is contained in:
parent
2b1271ec6e
commit
07525cd06c
|
@ -163,7 +163,9 @@ if($latest_version->isNewer($current_version)) { // neue Version verfügbar?
|
|||
echo PHP_EOL;
|
||||
$cli->sendTitle( "STARTE DAS ENTPACKEN DER NEUEN SERVER FILES", 1 );
|
||||
|
||||
exec("tar -xvf \"$download_output\" > /dev/null", $output, $return); // Entpacken
|
||||
$unxz_download_output = preg_replace("/.tar.xz$/", ".tar", $download_output);
|
||||
|
||||
exec("unxz -vfd \"$download_output\" && tar -xvf \"$unxz_download_output\" > /dev/null", $output, $return); // Entpacken
|
||||
|
||||
if($return === 0) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue