diff options
author | Ted Trask <ttrask01@yahoo.com> | 2009-02-27 14:11:04 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2009-02-27 14:11:04 +0000 |
commit | 7c83dbe3df24b03a7e66640de2e9fc6ab0c762fd (patch) | |
tree | 0f0ac36d64e84087707b884e98f073c72b363438 | |
parent | 7b53b6cc73de349af77ecd73e00f60a9e679abd2 (diff) | |
download | acf-fetch-crl-7c83dbe3df24b03a7e66640de2e9fc6ab0c762fd.tar.bz2 acf-fetch-crl-7c83dbe3df24b03a7e66640de2e9fc6ab0c762fd.tar.xz |
Fixed fetch-crl bug reading config.v0.1.1
git-svn-id: svn://svn.alpinelinux.org/acf/fetch-crl/trunk@1715 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | fetchcrl-model.lua | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ APP_NAME=fetch-crl PACKAGE=acf-$(APP_NAME) -VERSION=0.1.0 +VERSION=0.1.1 APP_DIST=\ fetchcrl* \ diff --git a/fetchcrl-model.lua b/fetchcrl-model.lua index 7f34c9c..29617e4 100644 --- a/fetchcrl-model.lua +++ b/fetchcrl-model.lua @@ -43,7 +43,7 @@ function startstop_service(action) file:close() end elseif (string.lower(action) == "delete") then - local config = format.parse_configfile(fs.read_file(configfile) or "") + local config = format.parse_ini_file(fs.read_file(configfile) or "", "") local dir = config.CRLDIR or outputdirectory for file in fs.find(".*\.r0", dir) do os.remove(file) |