#18273: post-activate code is not run if you call port activate -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts Future Component: base | Version: 1.7.0 Keywords: | Port: -------------------------------------+-------------------------------------- If you "`port install`" a port that has a post-activate block, it gets run. For example, wget's post-activate block tells you about a config file you can install (if you haven't already done so): {{{ $ sudo port install wget ---> Fetching wget ---> Verifying checksum(s) for wget ---> Extracting wget ---> Applying patches to wget ---> Configuring wget ---> Building wget ---> Staging wget into destroot ---> Installing wget @1.11.4_1 ---> Activating wget @1.11.4_1 To customize wget, you can copy wgetrc.sample to wgetrc in /opt/local/etc and then make changes. ---> Cleaning wget $ }}} However, if the port is deactivated, and you "`port activate`" it, the post-activate block does not run, which is unexpected: {{{ $ sudo port deactivate wget @1.11.4_1 ---> Deactivating wget @1.11.4_1 $ sudo port activate wget @1.11.4_1 ---> Activating wget @1.11.4_1 $ }}} -- Ticket URL: <http://trac.macports.org/ticket/18273> MacPorts <http://www.macports.org/> Ports system for Mac OS