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

Re: rm -rf /usr/somedir in maintainer scripts?

Tollef Fog Heen <tfheen@err.no> writes:
> ]] Nikolaus Rath 
>> How do I check if a directory belongs to a package?
> dpkg -S ?

I guess you shouldn't have used "belongs" but "owns" here. For example,
for /usr/share/dict dpkg -S lists wamerican, base-files and
dictionaries-common. How do I find out which of these owns this
directory and may rm -rf it?



 »Time flies like an arrow, fruit flies like a Banana.«

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C

Reply to: