#15701: npre 2.8.1_0 init-script refers to non-existant directory --------------------------------+------------------------------------------- Reporter: panisset@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | --------------------------------+------------------------------------------- On a virgin OS X 10.5.2 Server system which has never seen MacPorts before, I first installed MacPorts-1.6.0-10.5-Leopard.dmg, and then I did: /opt/local/bin/port install nrpe to install npre. But the startup script in /opt/local/share/nrpe/init- script refers to a directory which does not exist on my "clean" install: LockFile=/opt/local/var/run/nrpe.lock ... start) touch $LockFile ... stop) rm -f $LockFile I'm guessing that if you have installed other MacPorts subsystems on a machine, at some point /opt/local/var/run got created, but if npre is the first one you install, you run into this problem. Simple workaround is to create the directory manually. -- Ticket URL: <http://trac.macports.org/ticket/15701> MacPorts <http://www.macports.org/> Ports system for Mac OS