Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#13964 closed enhancement (fixed)

Routine to remove MacPorts should recommend a shell

Reported by: grahamperrin@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: wiki Version: 1.6.0
Keywords: Cc: grahamperrin@…, jmpalacios (Juan Manuel Palacios)
Port:

Description

At How do I remove or uninstall MacPorts?

MacPorts can be removed by issuing the following command from within Terminal:

sudo rm -rf \
/opt/local \
/Applications/MacPorts \
/Applications/DarwinPorts \
/Library/Tcl/macports1.0 \
/Library/Tcl/darwinports1.0 \
/Library/LaunchDaemons/org.macports.* \
/Library/StartupItems/DarwinPortsStartup \
/Library/Receipts/MacPorts*.pkg \
/Library/Receipts/DarwinPorts*.pkg

That assumes a shell such as
sh

When the user's shell is
tcsh
the result is unexpected, at least the repetition and ? question marks appear peculiar.

Change History (9)

comment:1 Changed 17 years ago by afb@…

see also ticket #12799

comment:2 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Cc: jmpp@… added
Priority: HighNormal

comment:3 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Component: guidewww
Owner: changed from markd@… to macports-tickets@…

comment:4 Changed 17 years ago by markd@…

How is the result unexpected how? Be specific. Life is short, and I'd rather not have to run the Tcl shell just to find out what you already know.

comment:5 Changed 17 years ago by grahamperrin@…

Sorry for the lazy report.

In tcsh,

Last login: Sat Jan 19 11:01:13 on ttyp7
Welcome to Darwin!
[grahamperrin:~] gjp22% sudo rm -rf \
/opt/local \
/Applications/MacPorts \
/Applications/DarwinPorts \
/Library/Tcl/macports1.0 \
/Library/Tcl/darwinports1.0 \
/Library/LaunchDaemons/org.macports.* \
/Library/StartupItems/DarwinPortsStartup \
/Library/Receipts/MacPorts*.pkg \
/Library/Receipts/DarwinPorts*.pkg? /opt/local \
? /Applications/MacPorts \
? /Applications/DarwinPorts \
? /Library/Tcl/macports1.0 \
? /Library/Tcl/darwinports1.0 \
? /Library/LaunchDaemons/org.macports.* \
? /Library/StartupItems/DarwinPortsStartup \
? /Library/Receipts/MacPorts*.pkg \
? /Library/Receipts/DarwinPorts*.pkg

comment:6 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Component: wwwwiki

comment:7 Changed 17 years ago by afb@…

Resolution: fixed
Status: newclosed

Fixed, now says you need bash.

comment:8 Changed 17 years ago by grahamperrin@…

Thanks!

Graham

comment:9 Changed 16 years ago by (none)

Milestone: Website & Documentation

Milestone Website & Documentation deleted

Note: See TracTickets for help on using tickets.