rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[rdiff-backup-users] Re: RPM, #!/usr/bin/python -> #!/usr/bin/python2.2


From: Erik Forsberg
Subject: [rdiff-backup-users] Re: RPM, #!/usr/bin/python -> #!/usr/bin/python2.2
Date: 12 Nov 2003 11:43:24 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Ben Escoto <address@hidden> writes:

> On 12 Nov 2003 09:11:38 +0100 Erik Forsberg <address@hidden> wrote:
> > I think the hashbang of the rdiff-backup "executable" should be
> > changed from "#!/usr/bin/python" to "#!/usr/bin/python2.2", at least
> > in the version that comes with the RPM package.
> 
> If you install from source the setup script will automatically munge
> the rdiff-backup executable so that the "#!" line points to the right
> python binary.

Are you sure about that? On my RH7.X boxes, there are most often _two_
python packages installed. One python (1.5.2) and one python2 (2.2).

> This seems like the right behavior, so the actual #! line in the
> binary RPMs are determined by the machine they are built on.
> "/usr/bin/python2.2" isn't that great a choice anyway, now that people
> are upgrading to 2.3.

That's true. Then go for /usr/bin/python2, which will at least
guarantee you that you get a python 2.x. The RPM dependency should
still be on /usr/bin/python2.2.

\EF
-- 
Erik Forsberg                Telephone: +46-13-21 46 00
Cendio Systems               Web: http://www.cendio.se
                             




reply via email to

[Prev in Thread] Current Thread [Next in Thread]