diff --git a/lib/01-holla_atcha_boi.func.sh b/lib/01-holla_atcha_boi.func.sh index 145f566..5c8737c 100644 --- a/lib/01-holla_atcha_boi.func.sh +++ b/lib/01-holla_atcha_boi.func.sh @@ -2,7 +2,7 @@ function holla_atcha_boi { if [[ "${I_AM_A_RACECAR}" == "y" ]]; then - RACECAR_CHK="nice -n '-19' " + RACECAR_CHK='nice -n -19 ' else RACECAR_CHK="" fi @@ -13,7 +13,7 @@ function holla_atcha_boi { then echo "No existing chroot environment found. Creating..." rm -f ${LOCKFILE} - ${RACECAR_CHK}${BASEDIR}/lib/mk.chroot.sh + ${RACECAR_CHK} ${BASEDIR}/lib/mk.chroot.sh touch ${LOCKFILE} fi } diff --git a/lib/05-jenny_craig.func.sh b/lib/05-jenny_craig.func.sh index a3aea2a..92d57d7 100644 --- a/lib/05-jenny_craig.func.sh +++ b/lib/05-jenny_craig.func.sh @@ -39,6 +39,7 @@ function jenny_craig () { rm -f ${BUILDDIR}/root/.bashrc # DISABLE when no longer building custom kernel 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/* mv -f ${BUILDDIR}/tmp/locale.alias ${BUILDDIR}/usr/share/locale/. rm -rf ${BUILDDIR}/var/cache/pacman/*