Browse Source

fixed python version detection ...

git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1808 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 21 years ago
parent
commit
9fd94ae9f4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      package/gnome24/pygtk/pygtk.conf

+ 1
- 1
package/gnome24/pygtk/pygtk.conf

@ -24,7 +24,7 @@
pygtk_pi() {
# set python path
PYVER="`python -V 2>&1 | sed 's,.*\([0-9][.][0-9]\).*,\1,'`"
PYVER="`python -V 2>&1 | sed 's/Python \([0-9]\.[0-9]\).*/\1/'`"
cat > $root/etc/profile.d/pygtk <<-EOF
export PYTHONPATH=$PYTHONPATH${PYTHONPATH:+:}/$prefix/lib/python$PYVER/site-packages/:/$prefix/lib/python$PYVER/site-packages/gtk-2.0/

Loading…
Cancel
Save