aboutsummaryrefslogtreecommitdiff
path: root/comms/minicom
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2011-01-08 13:40:26 +0000
committerJohan van Selst <johans@FreeBSD.org>2011-01-08 13:40:26 +0000
commitb987111aaa7485fc58262c881c0b0e46d19910c4 (patch)
tree63ad1ddabcd87b3ad6c90bb65bc8f40ea81d7ff4 /comms/minicom
parent703a3433f87e4d5448a2f2d5e8274e9956544b67 (diff)
downloadports-b987111aaa7485fc58262c881c0b0e46d19910c4.tar.gz
ports-b987111aaa7485fc58262c881c0b0e46d19910c4.zip
Explicitly create configuration directory during pkg install
before trying to change ownership of this directory PR: ports/153749 Submitted by: Jason Helfman <jhelfman@experts-exchange.com>
Notes
Notes: svn path=/head/; revision=267512
Diffstat (limited to 'comms/minicom')
-rw-r--r--comms/minicom/pkg-plist1
1 files changed, 1 insertions, 0 deletions
diff --git a/comms/minicom/pkg-plist b/comms/minicom/pkg-plist
index 19d66640d7e3..a044e2beaf93 100644
--- a/comms/minicom/pkg-plist
+++ b/comms/minicom/pkg-plist
@@ -20,6 +20,7 @@ bin/ascii-xfr
%%NLS%%share/locale/sv/LC_MESSAGES/minicom.mo
%%NLS%%share/locale/vi/LC_MESSAGES/minicom.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/minicom.mo
+@exec if [ ! -d %D/etc/minicom ] ; then /bin/mkdir -p %D/etc/minicom ; fi
@exec /usr/sbin/chown uucp %D/etc/minicom
@dirrmtry etc/minicom
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS