saving uncommitted changes in /etc prior to emerge run

This commit is contained in:
2015-02-27 01:58:55 +01:00
committed by root
commit b3cea8d893
2385 changed files with 507432 additions and 0 deletions

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1,7 @@
#!/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

View File

@@ -0,0 +1,8 @@
#!/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

View File

@@ -0,0 +1,24 @@
#!/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

View File

@@ -0,0 +1,4 @@
#!/bin/bash
echo -e '\033[1;32metckeeper preinst phase...\033[0m'
etckeeper pre-install

View File

@@ -0,0 +1,4 @@
#!/bin/bash
if [[ $(ld --version) =~ "gold" ]] ; then
echo -e "\033[1;31mld gold is in use!!\033[0m"
fi

View File

@@ -0,0 +1,4 @@
#!/bin/bash
if [[ $(ld --version) =~ "gold" ]] ; then
echo -e "\033[1;31mld gold is in use!!\033[0m"
fi

View File

@@ -0,0 +1,10 @@
#!/bin/sh
#echo -e "\033[1;33mcompressing logs...\033[0m"
#find "$(portageq envvar PORT_LOGDIR)" -type f -name "*.log" -exec xz -z -9 '{}' \; && echo -e "\033[1;32mcompressing logs finished!\033[0m" || echo -e "\033[1;31mfailed!\033[0m"
# updatedb
/root/updatedb.sh
echo -e "\033[1;33mstarting database-update...\033[0m"
updatedb && echo -e "\033[1;32mupdating database finished!\033[0m" || echo -e "\033[1;31mfailed!\033[0m"