Skip to content
Snippets Groups Projects
Commit f4f182cd authored by Philipp Stadler's avatar Philipp Stadler
Browse files

chore: fix Anki open check

parent 1eba53b5
Branches
Tags
1 merge request!116fix: Name für 亅 (Radikal 6) hinzugefügt
......@@ -3,7 +3,7 @@ ANKI_COL_WAL := $(ANKI_COL_DIR)/collection.anki2-wal
.PHONY: install
install: $(APKGS)
$(if $(wildcard $(ANKI_COL_DIR)), $(error Cannot install while Anki is open))
$(if $(wildcard $(ANKI_COL_WAL)), $(error Cannot install while Anki is open))
# make sure data gets overwritten by deleting old data first
-rm $(ANKI_COL_DIR)/collection.media/_hd*.js
# not running with pipenv because we explicitly want the system anki
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment