Re: A-A-P accepted into Debian

Bram Moolenaar <[email protected]>
Newsgroups gmane.comp.tools.aap.devel
Message-ID <[email protected]>
Wichert Akkerman wrote:

> Previously Bram Moolenaar wrote:
> > Please also try out installing packages on Debian.  These packages have
> > Debian support that may or may not work:
> 
> It does something:
> 
> ------------------------------------------------------------------------
> [tornado;/tmp]-32> aap --install ctags
> Aap: Creating directory "/home/wichert/.aap/packages/ctags"
> Aap: Entering directory `/home/wichert/.aap/packages/ctags'
> Aap: Attempting download of "http://www.a-a-p.org/package.php?package=ctags&osname=posix"
> Aap: Downloaded "http://www.a-a-p.org/package.php?package=ctags&osname=posix" to "boot.aap"
> 
> Select where to install ctags:
> 1. become root and install in "/usr/local"
> 2. become root and install in a specified location
> 3. install in your home directory "/home/wichert"
> 4. install in a specified location
> q. quit
> choice: 
> 
> ------------------------------------------------------------------------
> 
> I would exepct aap to just call apt-get install ctags (or perhaps
> exuberant-ctags) though.

It looks like Aap didn't detect that you are using a Debian system.
Could you try this (cd to the Aap directory first):

	% python
	>>> import os.path
	>>> os.path.isdir("/etc/debian_version")
	False
	>>> import RecPython
	>>> RecPython.program_path("apt-get")
	>>>

For you the "isdir()" should return True and program_path() the path to
the apt-get program.

-- 
   A village.  Sound of chanting of Latin canon, punctuated by short, sharp
   cracks.  It comes nearer.  We see it is a line of MONKS ala SEVENTH SEAL
   flagellation scene, chanting and banging themselves on the foreheads with
   wooden boards.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
 \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.