summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2a5467a)
raw | patch | inline | side by side (parent: 2a5467a)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 19 Oct 2005 13:47:42 +0000 (13:47 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 19 Oct 2005 13:47:42 +0000 (13:47 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1624 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiPackage.inc | patch | blob | history |
index dd942cf0bc9133b43309e31fcec36822dfcb97ae..f2c3d74d5743e2c501ffaa0da3431606cb731499 100644 (file)
$this->buffer=array();
$a_ret = array();
foreach($this->FAIdebianSection as $sec){
- $strID= "/etc/gosa/fai/".$this->FAIdebianMirror."/".$this->FAIdebianRelease."/".$sec;
+ $strID= "/etc/gosa/fai/".preg_replace("#^[^/]+//([^/]+).*$#","\\1",$this->FAIdebianMirror)."/".$this->FAIdebianRelease."/".$sec;
if(!is_file($strID)){
- print_red(sprintf(_("Package file don't exists '%s'."),$strID));
+ print_red(sprintf(_("Package file '%s' does not exist."),$strID));
$this->FAIdebianMirror="";
unset($this->buffer);
return(array());