[MacPorts] #70020: 2048.cpp does not remove its data folder upon deactivation

MacPorts noreply at macports.org
Sat May 18 17:06:52 UTC 2024


#70020: 2048.cpp does not remove its data folder upon deactivation
---------------------------+------------------------
  Reporter:  barracuda156  |      Owner:  chenguokai
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.9.3
Resolution:                |   Keywords:
      Port:  2048.cpp      |
---------------------------+------------------------

Comment (by ryandesign):

 MacPorts does not distinguish between removing a port due to uninstalling
 and removing it due to upgrading to a new version. To MacPorts, both are
 "deactivating".

 It's the same situation as a database server (MySQL, PostgreSQL); you
 wouldn't want your databases or log files, which are stored in
 ${prefix}/var, to be wiped out for you when you upgrade or uninstall. Same
 with configuration files stored in ${prefix}/etc; you wouldn't want them
 reset to defaults when you upgrade or uninstall. These files, and any
 others not included in a port's destroot, intentionally remain untouched
 by MacPorts when you upgrade or uninstall ports.

-- 
Ticket URL: <https://trac.macports.org/ticket/70020#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list