Changeset 98174


Ignore:
Timestamp:
Sep 27, 2012, 3:41:22 PM (12 years ago)
Author:
pixilla@…
Message:

sysutils/logrotate:

  • Only install startupitem if installer is root.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/logrotate/Portfile

    r97990 r98174  
    66name                logrotate
    77version             3.8.2
    8 revision            2
     8revision            3
    99categories          sysutils
    1010platforms           darwin
     
    7676    }
    7777    if {[variant_isset startupitem]
    78     && ${startupitem.install} != "no"} {
     78    && ${startupitem.install} != "no"
     79    && [getuid] == 0} {
    7980
    8081        xinstall -d ${destroot}${prefix}/etc/LaunchDaemons/org.macports.logrotate
     
    120121    variant_set     gzip
    121122}
    122 default_variants-append \
    123                     +startupitem
    124123
    125124livecheck.url       $homepage
Note: See TracChangeset for help on using the changeset viewer.