mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-10 05:24:22 +02:00
Upstream has moved the default lock directory to /run/lock
([6da4b04f8b5]) but forgot to change the Makefile so patching it
([logcheck!21]).
Also removing 2 'mkdir -p' lines since 'make install' already creates
the directories.
Ref [#15930]
Fixes [#16050]
[6da4b04f8b5]: 6da4b04f8b
[logcheck!21]: https://salsa.debian.org/debian/logcheck/-/merge_requests/21
[#15930]: https://gitlab.alpinelinux.org/alpine/aports/-/issues/15930
[#16050]: https://gitlab.alpinelinux.org/alpine/aports/-/issues/16050
16 lines
No EOL
507 B
Diff
16 lines
No EOL
507 B
Diff
logcheck uses /run/lock by default so fix the path for systems without
|
|
/var/lock -> /run/lock symlink
|
|
|
|
diff --git a/Makefile b/Makefile
|
|
index fded3699..2a992473 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -13,7 +13,7 @@ install:
|
|
install -d $(DESTDIR)/var/lib/logcheck
|
|
install -d $(DESTDIR)/$(SBINDIR)
|
|
install -d $(DESTDIR)/$(BINDIR)
|
|
- install -d $(DESTDIR)/var/lock/logcheck
|
|
+ install -d $(DESTDIR)/run/lock/logcheck
|
|
install -d $(DESTDIR)/$(SHAREDIR)
|
|
|
|
# Create directories for rules logcheck-database
|