diff --git a/scripts/functions.sh b/scripts/functions.sh index 7985f32..3353fac 100644 --- a/scripts/functions.sh +++ b/scripts/functions.sh @@ -271,7 +271,13 @@ gentoo_umount() { } gentoo_chroot() { - [[ $# -gt 0 ]] || die "Missing command argument" + if [[ $# -eq 0 ]]; then + cat > "$TMP_DIR/.bashrc" <