Diff of /alx-src/branches/alxconf-060/functions/common.sh
Parent Directory | Revision Log | Patch
revision 2453 by niro, Mon Jun 27 12:45:36 2011 UTC | revision 3473 by niro, Fri Apr 13 18:09:44 2012 UTC | |
---|---|---|
# | Line 28 clearconfig() | Line 28 clearconfig() |
28 | { | { |
29 | if [[ -z ${CONFIG} ]] | if [[ -z ${CONFIG} ]] |
30 | then | then |
31 | echo "You must define \$CONFIG varibale first!" | echo "You must define \$CONFIG variable first!" |
32 | return 1 | return 1 |
33 | fi | fi |
34 | ||
# | Line 48 updateconfig() | Line 48 updateconfig() |
48 | ||
49 | if [[ -z ${CONFIG} ]] | if [[ -z ${CONFIG} ]] |
50 | then | then |
51 | echo "You must define \$CONFIG varibale first!" | echo "You must define \$CONFIG variable first!" |
52 | return 1 | return 1 |
53 | fi | fi |
54 |
|