From 161afbc28529a0a45797010610626c5128ac89d6 Mon Sep 17 00:00:00 2001 From: oddlama Date: Thu, 2 Jan 2020 23:56:36 +0100 Subject: [PATCH] Added chroot indicator --- scripts/functions.sh | 10 ++++++++-- scripts/main_chroot.sh | 3 --- 2 files changed, 8 insertions(+), 5 deletions(-) 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" <