diff options
author | Ted Trask <ttrask01@yahoo.com> | 2009-01-16 21:24:16 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2009-01-16 21:24:16 +0000 |
commit | 2ea73232c5efe24299ef3b46de43d16c12d82075 (patch) | |
tree | 569f2ce5a7264a65d81c63a96b97b71d8c15e85f | |
parent | ce796fb65dd1ae945cc5cfd897691b8ca774ff9c (diff) | |
download | acf-openvpn-2ea73232c5efe24299ef3b46de43d16c12d82075.tar.bz2 acf-openvpn-2ea73232c5efe24299ef3b46de43d16c12d82075.tar.xz |
Tested by removing expected packages, files, and directories. Fixed resulting bugs.
git-svn-id: svn://svn.alpinelinux.org/acf/openvpn/trunk@1683 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r-- | openvpn-model.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/openvpn-model.lua b/openvpn-model.lua index 8995594..b576f93 100644 --- a/openvpn-model.lua +++ b/openvpn-model.lua @@ -100,8 +100,10 @@ end local function list_conffiles() local configfiles = {} - for file in fs.find(".*%.conf", baseurl) do - configfiles[#configfiles+1] = file + for file in fs.find(nil, baseurl) do + if fs.is_file(file) then + configfiles[#configfiles+1] = file + end end return configfiles end |