diff --git a/src/Sikofitt/OS/OSReleaseProber.php b/src/Sikofitt/OS/OSReleaseProber.php new file mode 100644 index 0000000..e21a134 --- /dev/null +++ b/src/Sikofitt/OS/OSReleaseProber.php @@ -0,0 +1,29 @@ + [ 'file' => 'https://www.torproject.org/dist/tor-0.2.9.8.tar.gz', @@ -57,7 +63,7 @@ class TorDownloadCommand extends Command { $file = $guzzle->get($this->downloadUrls['linux']['file']); file_put_contents($this->baseDir . '/' . $this->downloadUrls['linux']['filename'], $file->getBody()->getContents()); } - + $tar = new ProcessBuilder(); $tar->setPrefix('/bin/tar') ->setWorkingDirectory($this->baseDir)