Хранилища Subversion ant

Редакция

Редакция 677 | Весь файл | Не учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS

Редакция 677 Редакция 678
Строка 607... Строка 607...
607
       $query .= "JOIN ".$this->prefix."dtype t ON d.disttype=t.type_id ";
607
       $query .= "JOIN ".$this->prefix."dtype t ON d.disttype=t.type_id ";
608
       $query .= "WHERE d.dist_id='".$data["dist_id"]."' AND v.version_id='".$data["version_id"]."'";
608
       $query .= "WHERE d.dist_id='".$data["dist_id"]."' AND v.version_id='".$data["version_id"]."'";
609
       $rq =& $this->db->query($query);
609
       $rq =& $this->db->query($query);
610
       $rq->fetchInto($dist);
610
       $rq->fetchInto($dist);
611
       
611
       
612
       $show = "# Список репозиториев для ".$this->secure->checkStr($dist["distname"],1)." ".$this->secure->checkStr($dist["version"],1)." ".$this->secure->checkStr($dist["vname"],1)."\n\n";
612
       $show  = "# Список репозиториев для ".$this->secure->checkStr($dist["distname"],1)." ".$this->secure->checkStr($dist["version"],1)." ".$this->secure->checkStr($dist["vname"],1)."\n";
-
 
613
       $show .= "# Этот sources.list сгенерирован при помощи ".$core->getEngineAttr('codename')." ".$core->getEngineAttr('version')."\n\n";
613
614
614
       // Извлекаем информацию о репозиториях и строим sources.list
615
       // Извлекаем информацию о репозиториях и строим sources.list
615
       if ($dist["type"]=="deb") {
616
       if ($dist["type"]=="deb") {
616
           // Базовый репозиторий
617
           // Базовый репозиторий
617
           $query  = "SELECT * FROM ".$this->prefix."repository r ";
618
           $query  = "SELECT * FROM ".$this->prefix."repository r ";