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

Bug#648873: [Pkg-fonts-devel] Bug#648873: cm-super: Please drop defoma support



On Fri, 2011-11-18 at 07:02 +0100, Christian PERRIER wrote:

> Something like this in postinst would be good:
> 
> if dpkg --compare-versions "$2" lt 0.3.4-4; then
> 	if [ -x "which defoma-app 2>/dev/null" ]; then
> 		defoma-app purge cm-super-x11
> 	fi
> fi
> 
> 
> Paul (Wise), you often have good advices and often correct me on these
> things, so please confirm!

Hmmmm, my earlier advice seems to have been incorrect :(

For fonts you need to run this instead of defoma-app:

defoma-font purge-all /etc/defoma/hints/$PACKAGE.hints 

Obviously that does not work if the hints file is no longer available.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: