diff options
author | krion <krion@FreeBSD.org> | 2005-02-18 17:35:01 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2005-02-18 17:35:01 +0800 |
commit | 89facdb16fdc687a07ad2816ca202a4423a00c47 (patch) | |
tree | a48f89fd660122240d8ade2cb6c407c0424162e1 /net-im/jit/pkg-install | |
parent | 6b314596eae024142967a15e4db306776249aed9 (diff) | |
download | freebsd-ports-gnome-89facdb16fdc687a07ad2816ca202a4423a00c47.tar.gz freebsd-ports-gnome-89facdb16fdc687a07ad2816ca202a4423a00c47.tar.zst freebsd-ports-gnome-89facdb16fdc687a07ad2816ca202a4423a00c47.zip |
Update to version 1.1.7
PR: ports/77653
Submitted by: maintainer
Diffstat (limited to 'net-im/jit/pkg-install')
-rw-r--r-- | net-im/jit/pkg-install | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/net-im/jit/pkg-install b/net-im/jit/pkg-install index 490beedf25d2..ba7f0c0ca6fd 100644 --- a/net-im/jit/pkg-install +++ b/net-im/jit/pkg-install @@ -9,6 +9,7 @@ GROUP=${USER} UID=93 GID=${UID} SPOOLDIR="/var/spool/jit" +LOGDIR="/var/log/jabber" if ! pw groupshow "${GROUP}" 2>/dev/null 1>&2; then if pw groupadd ${GROUP} -g ${GID}; then @@ -36,6 +37,17 @@ if [ ! -d ${SPOOLDIR} ]; then mkdir -p ${SPOOLDIR} fi +if [ ! -d ${LOGDIR} ]; then + echo "Creating \"${LOGDIR}\"." + mkdir -p ${LOGDIR} +fi + + + echo "Fixing ownerships and modes in \"${SPOOLDIR}\"." chown -R ${USER}:${GROUP} ${SPOOLDIR} chmod -R go= ${SPOOLDIR} + +echo "Fixing ownerships and modes in \"${LOGDIR}\"." +chown -R ${USER}:${GROUP} ${LOGDIR} +chmod -R go= ${LOGDIR} |