Fix errors on arch and maintainer
This commit is contained in:
parent
8fa5d8c457
commit
e4609aaa2c
1 changed files with 4 additions and 3 deletions
|
|
@ -71,7 +71,7 @@ class StandardFile
|
|||
return $this->_setProperty($this["Priority"], $priority);
|
||||
}
|
||||
|
||||
public function setArchitectur($arch)
|
||||
public function setArchitecture($arch)
|
||||
{
|
||||
return $this->_setProperty("Architecture", $arch);
|
||||
}
|
||||
|
|
@ -106,9 +106,10 @@ class StandardFile
|
|||
return $this->_setProperty("Installed-Size", $size);
|
||||
}
|
||||
|
||||
public function setMaintainer($maintainer)
|
||||
public function setMaintainer($maintainer, $email = false)
|
||||
{
|
||||
return $this->_setProperty("Maintainer", $maintainer);
|
||||
$email = ($email) ? $email : "not-set@provider.it";
|
||||
return $this->_setProperty("Maintainer", $maintainer . "[{$mail}]");
|
||||
}
|
||||
|
||||
public function setConflicts($conflicts)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue