summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authors7hoang2020-07-17 19:36:56 -0400
committers7hoang2020-07-17 19:41:44 -0400
commit6881cbf51bf2f1fed4f401c9ffb90062000565d2 (patch)
tree88fcfdeeaf292235a0a7cfced34c2c395f18fc65
parent68e2c98b786cb115c8e4c0b6b3e3eb094acb751b (diff)
downloadaur-6881cbf51bf2f1fed4f401c9ffb90062000565d2.tar.gz
Do The Commands As The Right User
-rw-r--r--anki-sync-server.install4
1 files changed, 2 insertions, 2 deletions
diff --git a/anki-sync-server.install b/anki-sync-server.install
index 0402fe5411eb..db8136486800 100644
--- a/anki-sync-server.install
+++ b/anki-sync-server.install
@@ -84,9 +84,9 @@ If you want to run the supplied anki client execute:
You'll need to install the listed requirements to get it running first:
cd /opt/anki-sync-server
- git submodule init anki-bundled
+ sudo -u anki-sync-server git submodule update --init anki-bundled
cd anki-bundled
- bash tools/build_ui.sh #for aqt dependency
+ 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 \