saving uncommitted changes in /etc prior to emerge run

This commit is contained in:
2015-08-16 17:46:11 +02:00
committed by Hans Wurst
parent a8450c09bb
commit b75ed94dff
23 changed files with 65 additions and 73 deletions

View File

@@ -0,0 +1,8 @@
#!/bin/bash
source "${PALUDIS_EBUILD_DIR}/echo_functions.bash"
einfo "running 'etckeeper post-install'"
etckeeper post-install

View File

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

View File

@@ -1,8 +0,0 @@
#!/bin/bash
echo -e '\033[1;32metckeeper postinst phase...\033[0m'
etckeeper post-install
if [[ $(ld --version) =~ "gold" ]] ; then
echo -e "\033[1;31mld gold is in use!!\033[0m"
fi