we should probably remove .pacnew files in the ISO. every little byte helps :/

This commit is contained in:
brent s. 2014-12-20 22:41:35 -05:00
parent 15f85a19a4
commit fc5fac0667
2 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,7 @@ function holla_atcha_boi {


if [[ "${I_AM_A_RACECAR}" == "y" ]]; if [[ "${I_AM_A_RACECAR}" == "y" ]];
then then
RACECAR_CHK="nice -n '-19' " RACECAR_CHK='nice -n -19 '
else else
RACECAR_CHK="" RACECAR_CHK=""
fi fi

View File

@ -39,6 +39,7 @@ function jenny_craig () {
rm -f ${BUILDDIR}/root/.bashrc rm -f ${BUILDDIR}/root/.bashrc
# DISABLE when no longer building custom kernel # DISABLE when no longer building custom kernel
find ${BUILDDIR}/usr/lib/modules/ -maxdepth 1 -iname "*-ARCH" -exec rm -rf '{}' \; find ${BUILDDIR}/usr/lib/modules/ -maxdepth 1 -iname "*-ARCH" -exec rm -rf '{}' \;
find ${BUILDDIR}/ -type f -name "*.pacnew" -exec rm -rf '{}' \;
rm -rf ${BUILDDIR}/usr/share/locale/* rm -rf ${BUILDDIR}/usr/share/locale/*
mv -f ${BUILDDIR}/tmp/locale.alias ${BUILDDIR}/usr/share/locale/. mv -f ${BUILDDIR}/tmp/locale.alias ${BUILDDIR}/usr/share/locale/.
rm -rf ${BUILDDIR}/var/cache/pacman/* rm -rf ${BUILDDIR}/var/cache/pacman/*