python: generate python{,2} symlinks again.

This commit is contained in:
Juan RP 2013-11-18 23:28:35 +01:00
parent a1deb41c57
commit 673934e63b

View file

@ -1,7 +1,7 @@
# Template build file for 'python'. # Template build file for 'python'.
pkgname=python pkgname=python
version=2.7.6 version=2.7.6
revision=1 revision=2
wrksrc="Python-${version}" wrksrc="Python-${version}"
short_desc="Interpreted, interactive, object-oriented programming language" short_desc="Interpreted, interactive, object-oriented programming language"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
@ -63,6 +63,8 @@ python_package() {
pycompile_dirs="usr/lib/python2.7" pycompile_dirs="usr/lib/python2.7"
pkg_install() { pkg_install() {
vmove all vmove all
ln -sf /usr/bin/python2.7 ${PKGDESTDIR}/usr/bin/python2
ln -sf /usr/bin/python2.7 ${PKGDESTDIR}/usr/bin/python
} }
} }