python-qt5/pylupdate5.sh
2017-01-27 07:37:02 -06:00

9 lines
199 B
Bash

#!/bin/sh
@PYTHON3@ -c "import PyQt5.pylupdate_main" &> /dev/null
if [ $? -eq 0 ]; then
exec @PYTHON3@ -m PyQt5.pylupdate_main ${1+"$@"}
else
exec @PYTHON2@ -m PyQt5.pylupdate_main ${1+"$@"}
fi