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,7 @@
#!/bin/bash
source "${PALUDIS_EBUILD_DIR}/echo_functions.bash"
einfo "running 'etckeeper pre-install'"
etckeeper pre-install

View File

@@ -1,24 +0,0 @@
#!/bin/bash
echo -e '\033[1;32metckeeper preinst phase...\033[0m'
etckeeper pre-install
# if [[ "${CATEGORY}/${PN}" =~ "app-emulation/emul-linux-x86" ||
# "${CATEGORY}/${PN}" == "x11-drivers/nvidia-drivers" ||
# "${CATEGORY}/${PN}" == "sys-libs/libstdc++-v3" ||
# "${CATEGORY}/${PN}" == "dev-lang/dmd" ||
# "${CATEGORY}/${PN}" == "sys-apps/sandbox" ||
# "${CATEGORY}/${PN}" == "app-emulation/wine" ||
# "${CATEGORY}/${PN}" == "sys-libs/glibc"
# ]]
# then
# :
# else
# einfo
# einfo "removing stuff in "${ED%/}"/usr/lib32/"
# einfo
# if [[ -n ${ED%/} && -e "${ED%/}/usr/lib32" ]] ; then
# rm -rf "${ED%/}/usr/lib32"
# fi
# fi