Update sysinfo.sh

Added checks to see if we are using this script on a Debian apt system. And made the code more readable.