Files
ports/security/acme.sh/pkg-post-install
T
2024-08-19 00:18:39 +00:00

9 lines
215 B
Bash

#!/bin/sh
# create the log file, if it does not exist
if [ ! -f "${PKG_ROOTDIR}/var/log/acme.sh.log" ]
then
chroot "${PKG_ROOTDIR}" \
/usr/bin/install -C -m 640 -o acme -g acme /dev/null /var/log/acme.sh.log
fi