Skip to content

Commit

Permalink
Уделение кириллицы их описания пакетов
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Kostarev committed Oct 12, 2021
1 parent a3599d2 commit fc0de01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ALTCOS/class/repo.php
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,8 @@ function rpmsInfo($list, $version, $listFields=[]) {
$versionDir = repos::versionVarSubDir($version);
$path = $this->varsDir . "/$versionDir/var/lib/rpm/";
$list = implode(' ', $list);
$cmd = "rpm -qi --dbpath=$path $list";
// echo "<pre>CMD=$cmd</pre>\n";
$cmd = "export LANG=C;rpm -qi --dbpath=$path $list";
// echo "<pre>CMD=$cmd</pre>\n";
$output = [];
exec($cmd, $output);
// echo "<pre>RPMSLIST=" . print_r($output, 1) . "</pre>\n";
Expand Down

0 comments on commit fc0de01

Please sign in to comment.