#1583 closed defect (fixed)
Proftpd install script broken if ${destroot}${prefix}/etc/rc.d doesn't already exist
Reported by: | matt+dports@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | fkr@… | |
Port: |
Description
If the directory ${destroot}${prefix}/etc/rc.d doesn't already exist, the part:
post-destroot { system "install -o root -m 755 -d ${destroot}${prefix}/etc/rc.d"
system "install -o root -m 755 -c \
${portpath}/files/proftpd.sh ${prefix}/etc/rc.d"
reinplace "s|PREFIX|${prefix}|g" ${prefix}/etc/rc.d/proftpd.sh }
will copy proftpd.sh to a _file_ called ${destroot}${prefix}/etc/rc.d
I guess it should perhaps be "install -d", and maybe rc.d/ with the trailing slash?
Change History (1)
comment:1 Changed 21 years ago by matt@…
Cc: | fkr@… added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Fixed it. Thanks for pointing this out!