bdisk/lib/01-holla_atcha_boi.func.sh
2014-12-23 22:59:20 -05:00

12 lines
302 B
Bash

function holla_atcha_boi {
# Do we have an existing chroot set up yet? If not, create.
if [[ ! -d "root.x86_64/root" || ! -d "root.i686/root" ]];
then
echo "No existing chroot environment found. Creating..."
rm -f ${LOCKFILE}
${BASEDIR}/lib/mk.chroot.sh
touch ${LOCKFILE}
fi
}