Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 221919
Collapse All | Expand All

(-)libwmf-0.2.8.4.ebuild.before (+17 lines)
Lines 83-85 Link Here
83
	make install DESTDIR="${D}" || die
83
	make install DESTDIR="${D}" || die
84
	dodoc README AUTHORS CREDITS ChangeLog NEWS TODO
84
	dodoc README AUTHORS CREDITS ChangeLog NEWS TODO
85
}
85
}
86
87
set_gtk_confdir() {
88
    # An arch specific config directory is used on multilib systems
89
    has_multilib_profile && GTK2_CONFDIR="${ROOT}etc/gtk-2.0/${CHOST}"
90
    GTK2_CONFDIR="${GTK2_CONFDIR:-/etc/gtk-2.0}"
91
}
92
93
pkg_postinst() {
94
	set_gtk_confdir
95
	gdk-pixbuf-query-loaders > "${GTK2_CONFDIR}/gdk-pixbuf.loaders"
96
}
97
98
pkg_postrm() {
99
	set_gtk_confdir
100
	gdk-pixbuf-query-loaders > "${GTK2_CONFDIR}/gdk-pixbuf.loaders"
101
}
102

Return to bug 221919