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,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,4 @@
#!/bin/bash
echo -e '\033[1;32metckeeper preinst phase...\033[0m'
etckeeper pre-install

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"