public function postExtractPackageCommands($currentPhpExtensionDirectory, $targetFilePath) { $targetPkgDir = $currentPhpExtensionDirectory . DIRECTORY_SEPARATOR . $this->getPackageName(); $extractDir = $currentPhpExtensionDirectory . DIRECTORY_SEPARATOR . $this->getRepository() . '-*'; $cmds = array("rm -rf {$targetPkgDir}", "mv {$extractDir} {$targetPkgDir}"); return $cmds; }