Diff of /trunk/mage/usr/lib/mage/smage2.sh
Parent Directory | Revision Log | Patch
revision 1347 by niro, Sat Jun 4 09:25:44 2011 UTC | revision 1349 by niro, Sat Jun 4 09:45:04 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 |
|