mbpfan-josie

Ensure lib/modules-load.d exists before installing there

d4473d440b833409ff4823800dc65090cf09b6cb
Jack Kamm <jackkamm@gmail.com> · 2022-11-19T11:22 · browse files at this commit

parents: 71d72cf

diff --git a/Makefile b/Makefile
index a90293d..41873fa 100644
--- a/Makefile
+++ b/Makefile
@@ -63,6 +63,7 @@ install: all
 	install -d $(DESTDIR)/etc
 	install -d $(DESTDIR)/lib/systemd/system
 	install -d $(DESTDIR)/usr/share/doc/mbpfan
+	install -d $(DESTDIR)/lib/modules-load.d
 	install $(BIN) $(DESTDIR)/usr/sbin
 	install -m644 $(CONF) $(DESTDIR)/etc
 	install -m644 $(DEPEND_MODULE) $(DESTDIR)/lib/modules-load.d