diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2014-03-25 18:19:44 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2014-03-25 18:19:44 +0000 |
commit | 0cfd925acdbbe028d44a054e619f69fbb5102f80 (patch) | |
tree | de3407a75e0507021973e1fc6ff428fee456700a /net-im/ejabberd/files/pkg-install.in | |
parent | eb4b752da53cdaa8e79cb335540dee5274a5e34d (diff) | |
download | ports-0cfd925acdbbe028d44a054e619f69fbb5102f80.tar.gz ports-0cfd925acdbbe028d44a054e619f69fbb5102f80.zip |
Notes
Diffstat (limited to 'net-im/ejabberd/files/pkg-install.in')
-rw-r--r-- | net-im/ejabberd/files/pkg-install.in | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/net-im/ejabberd/files/pkg-install.in b/net-im/ejabberd/files/pkg-install.in index e4cb90168261..0b8e818927f3 100644 --- a/net-im/ejabberd/files/pkg-install.in +++ b/net-im/ejabberd/files/pkg-install.in @@ -14,9 +14,7 @@ chown -R %%USERS%%:%%GROUPS%% %%PREFIX%%/lib/erlang/lib/%%PORTNAME%%-%%PORTVERS find %%PREFIX%%/lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%% -type f -print0 | xargs -0 chmod %%SHAREMODE%% find %%PREFIX%%/lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%% -type f -print0 | xargs -0 chown %%SHAREOWN%%:%%SHAREGRP%% -if [ "%%PAM%%" = 1 ]; then - chmod 4750 %%PREFIX%%/lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/priv/bin/epam - chown root:%%GROUPS%% %%PREFIX%%/lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/priv/bin/epam -fi +%%PAM%%chmod 4750 %%PREFIX%%/lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/priv/bin/epam +%%PAM%%chown root:%%GROUPS%% %%PREFIX%%/lib/erlang/lib/%%PORTNAME%%-%%PORTVERSION%%/priv/bin/epam exit 0 |