Description:
Syncs the disks after important operations.
Dependencies:
none
Code:
paludis -i app-paludis/paludis-hooks-sync-disks
Enable the sync-disks extended use flag in the /etc/paludis/use.conf file, by adding sync-disks to the line.
Code:
* PALUDIS_HOOKS: sync-disks .......
Then run:
Code:
paludis -i paludis-hooks --dl-reinstall if-use-changed
To enable the hook you can use eselect with the command
Code:
eselect paludis-hook enable sync-disks
To disable the hook you can use eselect just like the example above shows, but by changing enable to disable like this
Code:
eselect paludis-hook disable sync-disks
See here for help on eselect with paludis support.
If you are interested in the sources, or helping develop, then the sources can be fetched from our anonymous git repo at:
Code:
git clone git://git.paludis-extras.org/app-paludis/paludis-hooks-sync-disks.git
scripts:
hook script (click to see) ( download )

