[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] RPM, #!/usr/bin/python -> #!/usr/bin/python2.2
From: |
Erik Forsberg |
Subject: |
[rdiff-backup-users] RPM, #!/usr/bin/python -> #!/usr/bin/python2.2 |
Date: |
12 Nov 2003 09:11:38 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Hi!
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.
The reason for this is better compatibility with older RedHat
distributions. On RH7.2 (I have a server running that dist) and 7.3,
/usr/bin/python is python 1.5.2, not 2.2. There is however a python2
package that provides /usr/bin/python2.2:
address@hidden root]# rpm -q --whatprovides /usr/bin/python2.2
python2-2.2-16
On RH8 and RH9, /usr/bin/python _is_ python 2.2, but there is also a
/usr/bin/python2.2 binary which means a rdiff-backup RPM that used
/usr/bin/python2.2 would work more seamless on more RedHat
distributions.
Just a thought.
\EF
--
Erik Forsberg Telephone: +46-13-21 46 00
Cendio Systems Web: http://www.cendio.se
- [rdiff-backup-users] RPM, #!/usr/bin/python -> #!/usr/bin/python2.2,
Erik Forsberg <=