Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Preventing installation of specific files
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
mdoko
n00b
n00b


Joined: 23 Mar 2006
Posts: 9
Location: Zagreb, Hrvatska

PostPosted: Tue Jan 22, 2013 12:42 am    Post subject: Preventing installation of specific files Reply with quote

Is it possible to instruct portage not to install specific files while merging a package?

Concrete problem I have is this: mail-client/thunderbird-17.0.2 installs th following files under /usr/lib64/thunderbird/searchplugins:
  • amazondotcom.xml
  • aol-web-search.xml
  • bing.xml
  • eBay.xml
  • twitter.xml
  • wikipedia.xml
  • yahoo.xml


Since I'm not interested inusing any of those search engines from within my mail client, I would like not to have those files installed.

Is there any way to achieve this short of modifying the ebuild script?
_________________
A lie is a lie
even if everyone believes it.
The truth is the truth
even if no one believes it.
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 9118

PostPosted: Tue Jan 22, 2013 2:26 am    Post subject: Reply with quote

You could use INSTALL_MASK or PKG_INSTALL_MASK to instruct Portage not to install or package them. You could use a package-specific Portage environment file to define a post_src_install that removes those files, before the packaging and merge phases run.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum