Browse Source

fixed pygtk to install a correct profile.d file

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

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

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

Loading…
Cancel
Save