← Back to team overview

keryx team mailing list archive

Re: APT-Web/Keryx Web

 

On Thu, Jul 16, 2009 at 16:51, mac9416<mac9416@xxxxxxxxxxxxxxxx> wrote:
>
> One problem: APT-Web requires apt-get to be installed on the server,
> and I'm certain it's not. Therefore, I'll have to find out where and
> how APT-Web calls apt-get and replace it with some ported Keryx
> dependency-calculation code.

apt-get calls are done from common.php. But if you want to replace
apt-get with Keryx' code, try to create a function that returns what
apt_install() and parse_install() return. Those two functions are
called from index.php (line 22-23).

apt_install() calls apt-get install and the result is then parsed by
parse_install(). The final result would be something like these:
http://pastie.org/548229 (audacious) and http://pastie.org/548230
(gimp - already installed)

-- 
Iang-
http://fajran.web.id y!m: fajran



Follow ups

References