Changeset 107
- Timestamp:
- 05/21/2006 15:05:46 (6 years ago)
- Location:
- confman
- Files:
-
- 2 edited
-
confman (modified) (1 diff)
-
confmanlib.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
confman/confman
r103 r107 170 170 if [ -z "$*" ] ; then 171 171 print_usage 1 172 elif [ ! -e $1 ] ; then 173 echo File $1 not found! 174 print_usage 1 172 # This check is handled in the library. Calling on a non-existant file isn't 173 # necessarily a syntax error. 174 # elif [ ! -e $1 ] ; then 175 # echo File $1 not found! 176 # print_usage 1 175 177 else 176 178 local msg=`mktemp -t confman` -
confman/confmanlib.sh
r106 r107 123 123 # See if it even exists 124 124 file="${moduledir}${livefile}" 125 if [ ! -f $file] ; then125 if [ ! -f "$file" ] && [ -z "$1" ] ; then 126 126 return 0 127 elif [ ! -f "$file" ] ; then 128 conf_install $module $* 127 129 fi 128 130
Note: See TracChangeset
for help on using the changeset viewer.
