Opened 21 years ago

Closed 21 years ago

Last modified 21 years ago

#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: newclosed

Fixed it. Thanks for pointing this out!

Note: See TracTickets for help on using tickets.