Rex Dieter a56e31
#!/bin/sh
Rex Dieter a56e31
python3 -c "import PyKDE4" &> /dev/null
Rex Dieter a56e31
if [ $? -eq 0 ]; then
Rex Dieter a56e31
  exec python3 -m PyQt4.uic.pykdeuic4 ${1+"$@"}
Rex Dieter a56e31
else
Rex Dieter a56e31
  exec python2 -m PyQt4.uic.pykdeuic4 ${1+"$@"}
Rex Dieter a56e31
fi