25 lines
643 B
Bash
25 lines
643 B
Bash
#!/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
|
|
|