dotfiles

config files and scripts at HOME.
git clone git://git.ricketyspace.net/dotfiles.git
Log | Files | Refs

commit ede925b27a3534339dd5fad715f039461ea27c43
parent 8897a1c0409ccaa9389e9686485928b461bc8069
Author: rsiddharth <s@ricketyspace.net>
Date:   Tue,  9 May 2017 12:27:47 +0000

Update .bin/anki

Diffstat:
.bin/anki | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.bin/anki b/.bin/anki @@ -29,9 +29,9 @@ elif [ "$1" = "install" ]; then apt-get install -y git python3-pip python3-pyqt5 \ python3-pyqt5.qtwebengine pyqt5-dev-tools \ portaudio19-dev mplayer lame sudo - id -u s &>/dev/null || adduser --disabled-login --gecos "" s - cd $ANKI_DIR || git clone git://github.com/dae/anki.git $ANKI_DIR \ - cd $ANKI_DIR + id -u s 2>&1 /dev/null || adduser --disabled-login --gecos "" s + [ -d $ANKI_DIR ] || git clone git://github.com/dae/anki.git \ + $ANKI_DIR&& cd $ANKI_DIR pip3 install -r requirements.txt ./tools/build_ui.sh chown -R s:s $ANKI_DIR