From f4f182cd77e8cd312ef8c80cf7f56d77ce672007 Mon Sep 17 00:00:00 2001 From: Philipp Stadler <a51820432@unet.univie.ac.at> Date: Wed, 13 Mar 2024 22:28:56 +0100 Subject: [PATCH] chore: fix Anki open check --- make/install.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/install.mk b/make/install.mk index cdc46c7..c8efe37 100644 --- a/make/install.mk +++ b/make/install.mk @@ -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 -- GitLab