[126338] trunk/dports/sysutils/fcron/Portfile

khindenburg at macports.org khindenburg at macports.org
Tue Oct 7 21:02:37 PDT 2014


Revision: 126338
          https://trac.macports.org/changeset/126338
Author:   khindenburg at macports.org
Date:     2014-10-07 21:02:37 -0700 (Tue, 07 Oct 2014)
Log Message:
-----------
fcron: move add_user into main part - remove unneeded addgroup/set gid

Modified Paths:
--------------
    trunk/dports/sysutils/fcron/Portfile

Modified: trunk/dports/sysutils/fcron/Portfile
===================================================================
--- trunk/dports/sysutils/fcron/Portfile	2014-10-08 03:22:25 UTC (rev 126337)
+++ trunk/dports/sysutils/fcron/Portfile	2014-10-08 04:02:37 UTC (rev 126338)
@@ -36,12 +36,8 @@
 
 destroot.keepdirs   ${destroot}${prefix}/var/spool/fcron
 
-pre-destroot {
-    addgroup fcron
-    set gid [existsgroup fcron]
-    add_users fcron shell=/bin/bash gid=${gid} \
-        realname=fcronServer
-}
+add_users fcron group=fcron shell=/bin/bash realname=fcronServer
+
 post-destroot {
     foreach file [glob ${destroot}${prefix}/etc/fcron*] {
         file rename ${file} ${file}.sample
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141007/de440ddf/attachment.html>


More information about the macports-changes mailing list