saving uncommitted changes in /etc prior to emerge run
This commit is contained in:
24
paludis/hooks/ebuild_preinst_post/some.bash
Normal file
24
paludis/hooks/ebuild_preinst_post/some.bash
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user