On Jan 23, 2010, at 3:31 PM, Ryan Schmidt wrote:

> On Jan 23, 2010, at 17:13, Scott Haneda wrote:
> 
>> Store www files outside of prefix, or leave them in htdocs, or prefix/www/me 
>> ?
>> 
>> I think this go around I'm keeping my personal data in ~. wanted to hear 
>> others methods.
> 
> Either way. MacPorts won't remove your own data in e.g. 
> /opt/local/www/htdocs, however if you want to uninstall MacPorts and think of 
> using "rm -rf /opt/local" to do so, this would delete your data. Storing your 
> data outside prefix removes this risk. Of course, "rm -rf /opt/local" is not 
> how you should uninstall MacPorts; correct uninstall instructions are in the 
> guide.

That was why I was asking, personal data, and wanting it to be safe. I know 
that ~ needs thought when I backup, when I copy files from one machine to 
another etc.  Anything in / I sort os consider easily replaceable, 
re-installable etc.

I am considering symblinking /opt/local/var to somewhere else in ~ as well, 
since those will be my databases and the like.  I also am considering leaving 
it alone and not making a mess of things.

It says to do this, for an uninstall:
sudo rm -rf \
    /opt/local \
    /Applications/DarwinPorts \
    /Applications/MacPorts \
    /Library/LaunchDaemons/org.macports.* \
    /Library/Receipts/DarwinPorts*.pkg \
    /Library/Receipts/MacPorts*.pkg \
    /Library/StartupItems/DarwinPortsStartup \
    /Library/Tcl/darwinports1.0 \
    /Library/Tcl/macports1.0 \
    ~/.macports

Where is this "/Applications/DarwinPorts" and/or "/Applications/MacPorts", I 
have never seen anything put into /Applications?

The rest makes sense.

What is the harm if you do not remove receipt packages?  I was building out 
some local stuff with Apple's Package Maker, using it as a glorified way to put 
shell scripts and a launchd item where I wanted it.  I ended with a bunch of 
receipts, one for each build test I ran.  I have no idea if they are harmless, 
or I can safely delete them, or why so many were made.

Thank you
-- 
Scott * If you contact me off list replace talklists@ with scott@ * 

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to