saving uncommitted changes in /etc prior to emerge run
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user