saving uncommitted changes in /etc prior to emerge run

This commit is contained in:
hasufell 2015-09-08 12:41:10 +02:00 committed by Hans Wurst
parent d09ee8575e
commit 4b0f72d684
4 changed files with 11 additions and 0 deletions

2
env.d/90cave Normal file
View File

@ -0,0 +1,2 @@
CAVE_RESUME_FILE_OPT=--resume-file=~/resume
CAVE_SEARCH_INDEX=~/cave-search-index

View File

@ -0,0 +1,7 @@
#!/bin/bash
source "${PALUDIS_EBUILD_DIR}/echo_functions.bash"
ebegin "Update search index at ${CAVE_SEARCH_INDEX}"
cave manage-search-index --create "${CAVE_SEARCH_INDEX}"
eend $?

View File

@ -0,0 +1 @@
/etc/paludis/hooks/create_search_index.bash

View File

@ -0,0 +1 @@
/etc/paludis/hooks/create_search_index.bash