cups: Get rid of obsolete banners
These use bannertops, which no longer exists. And they conflicted with
the working banners in cups-filters.
commitffdabf02b94adf4b841211b56cbaea76e0e45467
authorEelco Dolstra <eelco.dolstra@logicblox.com>
dateTue 16 Dec 2014, 18:20 (12 years ago)
parentdc6c8b9
pkgs/misc/cups/default.nix+6
@@ -38,6 +38,12 @@ stdenv.mkDerivation {
3838 "CUPS_PRIMARY_SYSTEM_GROUP=root"
3939 ];
4040
41+ postInstall =
42+ ''
43+ # Delete obsolete stuff that conflicts with cups-filters.
44+ rm -rf $out/share/cups/banners $out/share/cups/data/testprint
45+ '';
46+
4147 meta = {
4248 homepage = "http://www.cups.org/";
4349 description = "A standards-based printing system for UNIX";