summarylogtreecommitdiffstats
path: root/lizzie.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lizzie.sh')
-rw-r--r--lizzie.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/lizzie.sh b/lizzie.sh
index cafe41532a5..c3579dd23fb 100644
--- a/lizzie.sh
+++ b/lizzie.sh
@@ -1,9 +1,11 @@
#!/bin/bash
if [ ! -d "$HOME/.local/share/lizzie" ]; then
mkdir -p "$HOME"/.local/share/lizzie
- cp /usr/share/lizzie/config.txt "$HOME"/.local/share/lizzie
if [ -f "$HOME/.local/share/leela-zero/leelaz_opencl_tuning" ]; then
ln -s "$HOME"/.local/share/leela-zero/leelaz_opencl_tuning "$HOME"/.local/share/lizzie/leelaz_opencl_tuning
fi
+ if [ -f /usr/local/share/lizzie/lznetwork.gz ]; then
+ ln -s /usr/local/share/lizzie/lznetwork.gz "$HOME"/.local/share/lizzie/lznetwork.gz
+ fi
fi
-cd "$HOME"/.local/share/lizzie && java -jar '/usr/share/java/lizzie/lizzie.jar' "$@" \ No newline at end of file
+cd "$HOME"/.local/share/lizzie && java -jar '/usr/share/java/lizzie/lizzie.jar' "$@"