updated inits to handle missing default bash config
[feisty_meow.git] / infobase / feisty_inits / dot.bashrc-normal-user
index 615970aa422bc56e1a333c0e38a10f6eef792bc7..f64bbcfcf3d5cd178eff7d7468d06f9ab9239e26 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
 
 ##############