mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
678db807ed
The install script contained a syntax error which caused the log file to not be created. While here: * rename script from pkg-install to pkg-post-install * include another crontab example which provides additional contet to logging. PR: 274348
8 lines
171 B
Bash
8 lines
171 B
Bash
#!/bin/sh
|
|
|
|
# create the log file, if it does not exist
|
|
if [ ! -f /var/log/acme.sh.log ]
|
|
then
|
|
/usr/bin/install -C -m 640 -o acme -g acme /dev/null /var/log/acme.sh.log
|
|
fi
|