Commit dd9d7cc3 authored by Bastien Nocera's avatar Bastien Nocera

build: Create the storage directory at install time

Otherwise you could get into a state where the daemon could not start
because the directory listed as a ReadWritePaths in the .service file is
missing.

Spotted by Will Thompson.

See: !5
parent dbeeb957
Pipeline #25281 passed with stage
in 9 minutes and 4 seconds
......@@ -50,3 +50,7 @@ fprintd-marshal.h: fprintd-marshal.list
fprintd-marshal.c: fprintd-marshal.h
( $(GLIB_GENMARSHAL) --prefix=fprintd_marshal $(srcdir)/fprintd-marshal.list --body --header > fprintd-marshal.c )
install-data-hook:
if test -w $(DESTDIR)$(prefix)/; then \
mkdir -p $(DESTDIR)$(localstatedir)/lib/fprint; \
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment