<?xml version="1.0" encoding="utf-8"?>

<doc>
	<back to="packages"/>
	<title>update-eix</title>
	<section>
	
		<description>
			<para>
				Update eix after syncing repositories and show the diff.
			</para>
		</description>
		<author>written by <strong>pioto</strong> and modified by <strong>Bo  Ørsted Andresen</strong>, <strong>truc</strong></author>
		<dependencies>
			<item>
				<para>
					app-portage/eix
				</para>
			</item>
		</dependencies>
		<title>Installation</title>
		<section>
			<title>without paludis-hooks installed</title>
			<subsection>
				<para>
					Just install the package.
				</para>
				
				<code>paludis -i app-paludis/paludis-hooks-update-eix</code>
			</subsection>
			<title>if you have paludis-hooks installed</title>
			<subsection>
				<para>
					Enable the <strong>update-eix</strong> extended use flag in the <file>/etc/paludis/use.conf</file> file, by adding <strong>update-eix</strong> to the line.
				</para>
				
				<code>* PALUDIS_HOOKS: update-eix .......</code>
				
				<para>
					Then run:
				</para>
				
				<code>paludis -i paludis-hooks --dl-reinstall if-use-changed</code>
			</subsection>
		</section>
		<title>Enabling/Disabling the hook</title>
		<section>
			<para>
				To enable the hook you can use <strong>eselect</strong> with the command 
			</para>

			<code>eselect paludis-hook enable update-eix</code>
			
			<para>
				To disable the hook you can use <strong>eselect</strong> just like the example above shows, but by changing <strong>enable</strong> to <strong>disable</strong> like this 
			</para>

			<code>eselect paludis-hook disable update-eix</code>
			
			<para>
				See here <link href="eselect-paludis-hooks.xml" text="for help on eselect" /> with paludis support.
			</para>
		</section>
		<sources title="of scripts">
			<item href="files/update-eix.bash">hook script</item>
		</sources>
		<sources header="ChangeLog">
			<item o-href="app-paludis/paludis-hooks-update-eix/ChangeLog">ChangeLog file</item>
		</sources>	
	</section>
</doc>
