This commit is contained in:
neil 2015-12-26 23:25:31 +08:00
parent 25355ba893
commit a799217ef2

2
le.sh
View File

@ -210,7 +210,7 @@ _setopt() {
echo usage: $0 '"file" "opt" "=" "value" [";"]' echo usage: $0 '"file" "opt" "=" "value" [";"]'
return return
fi fi
if [ -f $__conf ] ; then if [ ! -f $__conf ] ; then
touch $__conf touch $__conf
fi fi
if grep -H -n "^$__opt$__sep" $__conf ; then if grep -H -n "^$__opt$__sep" $__conf ; then