more fixes from windows.
[feisty_meow.git] / scripts / core / i.sh
index 18460d3d1a390664d7162d48b0442e65d93cc279..dbc5c8a93c9f5652bf88eaf6c5b587dafdfb4bb7 100644 (file)
@@ -1,12 +1,18 @@
 #!/bin/bash
 
-(
-source $SHELLDIR/core/date_stringer.sh
+source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
 
+(
 echo '###############################################################################'
 echo
 echo Your user name is $USER on a computer named $(hostname).
-echo Your machine platform is $(uname -m).
+echo Your machine platform is $(uname -m)
+if [ $OPERATING_SYSTEM == "UNIX" ]; then
+  which lsb_release &>/dev/null
+  if [ $? -eq 0 ]; then
+    lsb_release -a
+  fi
+fi
 echo The time is $(date_stringer | sed -e 's/_/ /g' | sed -e 's/\([0-9][0-9]\) \([0-9][0-9]\)$/:\1:\2/')
 echo
 echo '###############################################################################'
@@ -22,7 +28,7 @@ echo
 echo '###############################################################################'
 echo
 echo You are running the following processes:
-. $SHELLDIR/users/findme.sh
+. $FEISTY_MEOW_SCRIPTS/users/findme.sh
 echo
 echo '###############################################################################'
 ) | less