Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/idesk-sysinfo.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2135 by niro, Thu Jan 9 12:10:59 2014 UTC revision 2136 by niro, Fri Jan 10 10:13:55 2014 UTC
# Line 10  eval $(xinfo) Line 10  eval $(xinfo)
10  [[ -z ${xorg_width} ]] && xorg_width="1024"  [[ -z ${xorg_width} ]] && xorg_width="1024"
11  [[ -z ${xorg_height} ]] && xorg_width="768"  [[ -z ${xorg_height} ]] && xorg_width="768"
12    
13  if [ -e /etc/os-release ]  if [ -e @@SYSCONFDIR@@/os-release ]
14  then  then
15   osversion=$(source /etc/os-release; echo "${ID}-${Version_ID}")   osversion=$(source @@SYSCONFDIR@@/os-release; echo "${ID}-${Version_ID}")
16  elif [ -e /etc/mageversion ]  elif [ -e @@SYSCONFDIR@@/mageversion ]
17  then  then
18   osversion="alx-$(< /etc/mageversion)"   osversion="alx-$(< @@SYSCONFDIR@@/mageversion)"
19  else  else
20   osversion="alx-UNKNOWN"   osversion="alx-UNKNOWN"
21  fi  fi

Legend:
Removed from v.2135  
changed lines
  Added in v.2136