updated inits to handle missing default bash config
[feisty_meow.git] / infobase / feisty_inits / dot.bashrc-root
index e0facb150007d8b81a7e37f0802fc31e5fccf806..b3ff3381074e72f7ee45695602bb5a23e5d572bf 100644 (file)
@@ -5,9 +5,11 @@
 
 ##############
 
-# drag in the default version of this file.  this may not be needed if your
-# .bashrc script already has substantial code or already does this.
-source /etc/bash.bashrc
+if [ -f /etc/bash.bashrc ]; then
+  # drag in the default version of this file.  this may not be needed if your
+  # .bashrc script already has substantial code or already does this.
+  source /etc/bash.bashrc
+fi
 
 ##############