mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-11-09 12:52:06 +01:00
12 lines
346 B
Bash
12 lines
346 B
Bash
#!/bin/sh
|
|
|
|
# Create directory for the socket if OpenRC is not present (e.g. in container).
|
|
# It's conditioned using post-install script specifically to avoid easily
|
|
# overlookable mistakes in the init script (service working until the
|
|
# first restart).
|
|
if ! [ -e /sbin/openrc ]; then
|
|
install -d -m 755 -o redict -g redict /run/redict
|
|
fi
|
|
|
|
exit 0
|