diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-05-07 17:37:37 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-05-07 17:37:37 +0000 |
commit | f919fd5ef137f91ee4eabcdbf8b8a1da84e0f3c4 (patch) | |
tree | 2a49eed06d4f597a0757f91421a7079fe1047024 | |
parent | 108be679a6eb957d181493e034c74cde108cf398 (diff) | |
download | acf-alpine-conf-f919fd5ef137f91ee4eabcdbf8b8a1da84e0f3c4.tar.bz2 acf-alpine-conf-f919fd5ef137f91ee4eabcdbf8b8a1da84e0f3c4.tar.xz |
Rewrote getopts.getoptsfromfile function to handle more complicated config files and removed getopts.getoptsfromfile_onperline function
git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@1111 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r-- | lbu-model.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lbu-model.lua b/lbu-model.lua index 6807e87..62e008f 100644 --- a/lbu-model.lua +++ b/lbu-model.lua @@ -144,10 +144,10 @@ end function getconfig () local path = configfile local config = {} - local configopts + local configopts = {} local errors = {} if (fs.is_file(path)) then - configopts = getopts.getoptsfromfile_onperline(path) or {} + configopts = getopts.getoptsfromfile(path, "") or {} end local lbumedias = availablemedias() if not (configopts.LBU_MEDIA) then |