aports/main/logcheck/logcheck.post-install
Sertonix 0bf585114f main/logcheck: update path of lock dir
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
2024-04-23 15:25:58 +00:00

3 lines
80 B
Bash

#!/bin/sh
chown -R logcheck /etc/logcheck /run/lock/logcheck /var/lib/logcheck