Редакция 691 | Весь файл | Учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS
Редакция 691 | Редакция 693 | ||
---|---|---|---|
Строка 608... | Строка 608... | ||
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"; |
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 сгенерирован при помощи ".$this->getEngineAttr('codename')." ".$this->getEngineAttr('version')."\n"; |
613 | $show .= "# Этот sources.list сгенерирован при помощи ".$this->getEngineAttr('codename')."/".$this->getEngineAttr('version')."\n"; |
614 | $show .= "# Адрес проекта: http://alex-w.org.ru/p/ant\n\n"; |
614 | $show .= "# Адрес проекта: http://alex-w.org.ru/p/ant\n\n"; |
615 | 615 | ||
616 | // Извлекаем информацию о репозиториях и строим sources.list
|
616 | // Извлекаем информацию о репозиториях и строим sources.list
|
617 | if ($dist["type"]=="deb") { |
617 | if ($dist["type"]=="deb") { |
618 | // Базовый репозиторий
|
618 | // Базовый репозиторий
|