[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

dirrm question



Hi porters.

I have been away from this for a while, and have a question I can't 
find the answer to.  I had a request to add an emacs package (as part 
of the contrib of cscope) to the cscope port.  Looking at some examples 
in the ports tree, the right thing to do is to put the emacs package in 
share/emacs/site-lisp

The question is this, is my port supposed to try to remove 
share/emacs/{site-lisp} with dirrm on uninstall?

Of course, if the user has anything else in that dir (i.e. they didn't 
uninstall emacs) then make deinstall complains with:
unable to completely remove directory '/usr/local/share/emacs/site-lisp'
unable to completely remove directory '/usr/local/share/emacs'
etc etc.

This *is* what the net/curl port does.  It is *not* what mail/mailcrypt 
does.

I just want to do the right thing.  If someone could tell me what that 
is, I'd appreciate it.

Thanks!

./muk

-- 
m. kolb  <muk@msu.edu>