summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authors7hoang2020-07-17 18:57:51 -0400
committers7hoang2020-07-17 19:41:44 -0400
commit0bda3179209baab9a5e02e5452ff65e489bdd91b (patch)
tree4ea00458a0871bd4162881e09327bed6122764d6
parenta59d6ac6a2c0145683456b99a89111e8c1db5e0b (diff)
downloadaur-0bda3179209baab9a5e02e5452ff65e489bdd91b.tar.gz
Reference The Shell Script Instead Of Manually Install The Bundle Dependencies
-rw-r--r--anki-sync-server.install17
-rw-r--r--install_anki_bundled.sh9
2 files changed, 16 insertions, 10 deletions
diff --git a/anki-sync-server.install b/anki-sync-server.install
index db8136486800..fadd2fb57eb9 100644
--- a/anki-sync-server.install
+++ b/anki-sync-server.install
@@ -81,16 +81,13 @@ If you want to run the supplied anki client execute:
/opt/anki-sync-server/anki-bundled/runanki
-You'll need to install the listed requirements to get it running first:
-
- cd /opt/anki-sync-server
- sudo -u anki-sync-server git submodule update --init anki-bundled
- cd anki-bundled
- sudo -u anki-sync-server bash tools/build_ui.sh #for aqt dependency
- sudo pacman -S python-beautifulsoup4 python-send2trash \
- python-pyaudio python-requests python-decorator \
- python-psutil python-distro python-markdown \
- python-pyqt5 python-pyqtwebengine mpv
+You'll need to install the listed requirements to get it running first. You can run the file
+
+ sh install_anki_bundled.sh
+
+to do that.
+
+
=======================================================================
EOF
diff --git a/install_anki_bundled.sh b/install_anki_bundled.sh
new file mode 100644
index 000000000000..972a1593e6e8
--- /dev/null
+++ b/install_anki_bundled.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+cd /opt/anki-sync-server
+sudo -u anki-sync-server git submodule update --init anki-bundled
+cd anki-bundled
+sudo pacman -S --asdeps python-beautifulsoup4 python-send2trash \
+python-pyaudio python-requests python-decorator \
+python-psutil python-distro python-markdown \
+python-pyqt5 python-pyqtwebengine
+sudo -u anki-sync-server sh tools/build_ui.sh #for aqt dependency