summaryrefslogtreecommitdiff
path: root/security/acme.sh/pkg-post-install
blob: fecfc70882d87d3b8c55464312dde45927e0ef02 (plain) (blame)
1
2
3
4
5
6
7
8
#!/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