Magellan Linux

Diff of /tags/mage-0_4_27/usr/lib/mage/smage2.sh

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

revision 1349 by niro, Sat Jun 4 09:27:23 2011 UTC revision 1350 by niro, Sat Jun 4 09:46:13 2011 UTC
# Line 71  smagesource() Line 71  smagesource()
71   source ${file}   source ${file}
72    
73   [[ -n ${STATE} ]] && mystate="${STATE}"   [[ -n ${STATE} ]] && mystate="${STATE}"
74    
75     # do not overide if local state was broken or disabled!
76     case ${STATE} in
77     broken) return ;;
78     disabled) return ;;
79     esac
80    
81   if [ -f ${SMAGESCRIPTSDIR}/distribution ]   if [ -f ${SMAGESCRIPTSDIR}/distribution ]
82   then   then
83   source ${SMAGESCRIPTSDIR}/distribution   source ${SMAGESCRIPTSDIR}/distribution

Legend:
Removed from v.1349  
changed lines
  Added in v.1350