mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-09 04:13:33 +02:00
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
This commit is contained in:
@ -50,3 +50,7 @@ fprintd-marshal.h: fprintd-marshal.list
|
|||||||
fprintd-marshal.c: fprintd-marshal.h
|
fprintd-marshal.c: fprintd-marshal.h
|
||||||
( $(GLIB_GENMARSHAL) --prefix=fprintd_marshal $(srcdir)/fprintd-marshal.list --body --header > fprintd-marshal.c )
|
( $(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
|
||||||
|
|||||||
Reference in New Issue
Block a user