diff --git a/functions.sh b/functions.sh index bb713e7..548a531 100755 --- a/functions.sh +++ b/functions.sh @@ -91,6 +91,10 @@ if [ "${VERBOSE}" -ge 2 -o "${DEBUG}" == "1" ]; then true ${reset} return $retval } +else + chroot() { + /usr/sbin/chroot "${INSTALLDIR}" "$@" + } fi # ------------------------------------------------------------------------------