summaryrefslogtreecommitdiff
path: root/bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/bashrc b/bashrc
index 1116104..bb5003d 100644
--- a/bashrc
+++ b/bashrc
@@ -85,6 +85,8 @@ if [ "$(awk '$5=="/" {print $1}' </proc/1/mountinfo)" != "$(awk '$5=="/" {print
# chroot
if [ -e /etc/redhat-release ]; then
ROOT=$(cat /etc/redhat-release)
+ elif [ -e /etc/gentoo-release ]; then
+ ROOT=$(cat /etc/gentoo-release)
else
ROOT="unknown chroot"
fi