File wsjt_python3.diff of Package wsjt

diff -urN wsjt-10.0.r4336_orig/wsjt wsjt-10.0.r4336/wsjt
--- wsjt-10.0.r4336_orig/wsjt	2014-09-23 19:24:55.863082536 +0000
+++ wsjt-10.0.r4336/wsjt	2014-09-25 20:13:52.892166449 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-if [ -e /usr/local/bin/python ] ; then
+if [ -e /usr/local/bin/python3 ] ; then
 	LOCALBASE=/usr/local/
 else
 	LOCALBASE=/usr/
@@ -16,4 +16,4 @@
 	cp -f ${LOCALBASE}/share/wsjt/dmet_10_-1_3.dat ~/.wsjt
 fi
 cd ~/.wsjt
-python ${LOCALBASE}/bin/wsjt.py
+python3 ${LOCALBASE}/bin/wsjt.py
openSUSE Build Service is sponsored by