summarylogtreecommitdiffstats
path: root/lizzie.sh
diff options
context:
space:
mode:
authorAdrian Petrescu2019-10-25 14:34:45 -0400
committerAdrian Petrescu2019-10-25 14:34:45 -0400
commitbc6b70e6664fdd5f6903d7c22283adfcba9906d5 (patch)
treec75201b773b06a3ff3c6ed6ddf540e036fb6bd8a /lizzie.sh
parentf4eecd1f738fa98e21a69346027d66d00cf3b4d7 (diff)
downloadaur-lizzie.tar.gz
Release v0.7.2
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' "$@"