ehooks() { [[ -e ${PN}.desktop.in ]] \ && echo "NotShowIn=Unity;" >> "${PN}.desktop.in" \ || die sed -i \ -e "s:\(NotShowIn=KDE;GNOME;Cinnamon;\):\1Unity;:" \ "print-applet.desktop.in" || die sed -i \ -e "s:\(self.AboutDialog.set_\)\(icon_name('printer\):\1logo_\21:" \ "${PN}.py" || die }