blob: 722d2d00baab2ad6126c12ef9b0d6c048c624270 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
Description: wsjtx start script
If missing, creates and populates ~/.wsjtx/
cd ~/.wsjtx/ and run application binary.
.
Author: John T. Nogatch <jnogatch@gmail.com>
--- /dev/null
+++ wsjtx-1.1.r3496/wsjtx
@@ -0,0 +1,23 @@
+#!/bin/sh
+set -e
+
+# wsjtx expects to write configuration files in the current directory,
+# which also needs to contain CALL3.TXT before starting.
+# If those don't currently exist, create them first.
+
+cp -r --update /usr/share/wsjtx/.wsjtx $HOME
+
+RUNDIR=$HOME/.wsjtx
+cd $RUNDIR
+
+# wsjtx gets an error if this file does not exist, when trying to "Log QSO"
+if [ ! -f CALL3.TXT ]; then
+ touch CALL3.TXT
+fi
+# wsjtx & jt9 use applicationDirPath for configuration path prefix,
+# so they must reside here, in user's configuration dir
+cp --update /usr/lib/wsjtx/jt9 jt9
+cp --update /usr/lib/wsjtx/wsjtx wsjtx
+
+./wsjtx
+
|