saving uncommitted changes in /etc prior to emerge run
This commit is contained in:
parent
a8450c09bb
commit
b75ed94dff
@ -1 +0,0 @@
|
||||
|
8
paludis/hooks/ebuild_postinst_post/etckeeper.bash
Normal file
8
paludis/hooks/ebuild_postinst_post/etckeeper.bash
Normal file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
source "${PALUDIS_EBUILD_DIR}/echo_functions.bash"
|
||||
|
||||
einfo "running 'etckeeper post-install'"
|
||||
|
||||
etckeeper post-install
|
||||
|
1
paludis/hooks/ebuild_postinst_post/gold.bash
Symbolic link
1
paludis/hooks/ebuild_postinst_post/gold.bash
Symbolic link
@ -0,0 +1 @@
|
||||
/etc/paludis/hooks/gold.bash
|
@ -1,6 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [[ "${CATEGORY}/${PN}" == "media-sound/pulseaudio" ]] ; then
|
||||
chmod -x /usr/bin/pulseaudio
|
||||
fi
|
||||
|
11
paludis/hooks/ebuild_postinst_post/pulseaudio_no_exec.bash
Executable file
11
paludis/hooks/ebuild_postinst_post/pulseaudio_no_exec.bash
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
source "${PALUDIS_EBUILD_DIR}/echo_functions.bash"
|
||||
|
||||
# e.g. use for ns2
|
||||
|
||||
if [[ "${CATEGORY}/${PN}" == "media-sound/pulseaudio" ]] ; then
|
||||
einfo "removing executable bit from '/usr/bin/pulseaudio!'"
|
||||
chmod -x /usr/bin/pulseaudio
|
||||
fi
|
||||
|
@ -1,7 +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
|
8
paludis/hooks/ebuild_postrm_post/etckeeper.bash
Normal file
8
paludis/hooks/ebuild_postrm_post/etckeeper.bash
Normal file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
source "${PALUDIS_EBUILD_DIR}/echo_functions.bash"
|
||||
|
||||
einfo "running 'etckeeper post-install'"
|
||||
|
||||
etckeeper post-install
|
||||
|
1
paludis/hooks/ebuild_postrm_post/gold.bash
Symbolic link
1
paludis/hooks/ebuild_postrm_post/gold.bash
Symbolic link
@ -0,0 +1 @@
|
||||
/etc/paludis/hooks/gold.bash
|
@ -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
|
||||
|
7
paludis/hooks/ebuild_preinst_post/etckeeper.bash
Normal file
7
paludis/hooks/ebuild_preinst_post/etckeeper.bash
Normal file
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
source "${PALUDIS_EBUILD_DIR}/echo_functions.bash"
|
||||
|
||||
einfo "running 'etckeeper pre-install'"
|
||||
|
||||
etckeeper pre-install
|
@ -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
|
||||
|
7
paludis/hooks/ebuild_prerm_post/etckeeper.bash
Normal file
7
paludis/hooks/ebuild_prerm_post/etckeeper.bash
Normal file
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
source "${PALUDIS_EBUILD_DIR}/echo_functions.bash"
|
||||
|
||||
einfo "running 'etckeeper pre-install'"
|
||||
|
||||
etckeeper pre-install
|
@ -1,4 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo -e '\033[1;32metckeeper preinst phase...\033[0m'
|
||||
etckeeper pre-install
|
1
paludis/hooks/ebuild_pretend_pre/gold.bash
Symbolic link
1
paludis/hooks/ebuild_pretend_pre/gold.bash
Symbolic link
@ -0,0 +1 @@
|
||||
/etc/paludis/hooks/gold.bash
|
@ -1,4 +0,0 @@
|
||||
#!/bin/bash
|
||||
if [[ $(ld --version) =~ "gold" ]] ; then
|
||||
echo -e "\033[1;31mld gold is in use!!\033[0m"
|
||||
fi
|
1
paludis/hooks/ebuild_setup_pre/gold.bash
Symbolic link
1
paludis/hooks/ebuild_setup_pre/gold.bash
Symbolic link
@ -0,0 +1 @@
|
||||
/etc/paludis/hooks/gold.bash
|
@ -1,4 +0,0 @@
|
||||
#!/bin/bash
|
||||
if [[ $(ld --version) =~ "gold" ]] ; then
|
||||
echo -e "\033[1;31mld gold is in use!!\033[0m"
|
||||
fi
|
7
paludis/hooks/gold.bash
Normal file
7
paludis/hooks/gold.bash
Normal file
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
source "${PALUDIS_EBUILD_DIR}/echo_functions.bash"
|
||||
|
||||
if [[ $(ld --version) =~ "gold" ]] ; then
|
||||
ewarn \033[1;31mld gold is in use!!\033[0m"
|
||||
fi
|
@ -1,10 +0,0 @@
|
||||
#!/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"
|
8
paludis/hooks/install_all_post/update_find_db.bash
Executable file
8
paludis/hooks/install_all_post/update_find_db.bash
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
source "${PALUDIS_EBUILD_DIR}/echo_functions.bash"
|
||||
|
||||
einfo "starting database-update..."
|
||||
|
||||
/root/updatedb.sh
|
||||
updatedb && einfo "updating database finished!" || eerror "failed!"
|
@ -7,4 +7,4 @@ source "/etc/paludis/hooks/set_portdir.bash"
|
||||
|
||||
cd "${PORTDIR}"/metadata || die "could not cd into '${PORTDIR}/metadata'!"
|
||||
[[ -e "${PORTDIR}"/metadata/herds.xml ]] && { rm "${PORTDIR}"/metadata/herds.xml || die "failed to rm herds.xml!" ;}
|
||||
wget https://gitweb.gentoo.org/proj/api.git/plain/files/packages/herds.xml || die "failed to wget herds.xml"
|
||||
wget https://gitweb.gentoo.org/data/api.git/plain/files/packages/herds.xml || die "failed to wget herds.xml"
|
||||
|
@ -91,8 +91,8 @@ app-office/ganttproject-bin::sunrise
|
||||
<media-video/mpv-9999
|
||||
|
||||
|
||||
#>=net-voip/linphone-3.8.0
|
||||
#>=media-libs/mediastreamer-2.11.0
|
||||
#>=net-libs/ortp-0.24.0
|
||||
#>=net-libs/belle-sip-1.4.0
|
||||
>=net-voip/linphone-3.8.0
|
||||
>=media-libs/mediastreamer-2.11.0
|
||||
>=net-libs/ortp-0.24.0
|
||||
>=net-libs/belle-sip-1.4.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user