# HG changeset patch # User Pascal Bellard # Date 1315727048 -7200 # Node ID 5c5dbcecf5c79abb7879cf320a4d820ad8377d57 # Parent 480166e90bc1ae3da930c7cc0a7a6025fc0e4a94 xfig: fix Fig*Font in genpkg_rules diff -r 480166e90bc1 -r 5c5dbcecf5c7 xfig/receipt --- a/xfig/receipt Sun Sep 11 09:35:17 2011 +0200 +++ b/xfig/receipt Sun Sep 11 09:44:08 2011 +0200 @@ -29,9 +29,5 @@ genpkg_rules() { cp -a $_pkg/* $fs + sed -i 's/^Fig\*Font:.*/Fig*Font:\t\t\tfixed/' $fs/etc/X11/app-defaults/Fig } - -post_install() -{ - sed -i 's/^Fig*Font:.*/Fig*Font: fixed/' $1/etc/X11/app-defaults -}