At 4:18 Uhr +0000 31.01.2002, Kyle Moffett wrote:

[...]

>>
>>The reason this happened is that your dhcp package had the directory "/etc"
>>in the .deb file (as I warned you on the package submission tracker).
>>When you removed it, dpkg removed /etc...since this was a symlink, only
>>the symlink was removed.  No warning needed, because the thing being
>>removed WAS empty.
>
>Yea, I still think it ought to be smart enough not to do some things 
>like that, though.

I am blunt now: You should be clever enough at not doing what you did!

Unix tools are in general meant for users who know what they do, like 
it or not. I know this is somewhat opposite to the MacOS angle at 
things, but so is Unix in general :) If you say "rm /" it will warn 
you, but if you give it the "-f" option (and if you have the proper 
access rights), it will just delete your whole HD, and not warn you. 
"-f" means "force", and if you specify it and didn't mean it, well, 
tough luck.

There is really no way for dpkg to second guess what you *meant*. And 
any attempts of it to do so would certainly cause far more pain than 
they would help.



Cheers,

Max
-- 
-----------------------------------------------
Max Horn
Software Developer

email: <mailto:[EMAIL PROTECTED]>
phone: (+49) 6151-494890

_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to