summaryrefslogtreecommitdiffstats
path: root/openvpn-model.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2009-01-16 21:24:16 +0000
committerTed Trask <ttrask01@yahoo.com>2009-01-16 21:24:16 +0000
commit2ea73232c5efe24299ef3b46de43d16c12d82075 (patch)
tree569f2ce5a7264a65d81c63a96b97b71d8c15e85f /openvpn-model.lua
parentce796fb65dd1ae945cc5cfd897691b8ca774ff9c (diff)
downloadacf-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
Diffstat (limited to 'openvpn-model.lua')
-rw-r--r--openvpn-model.lua6
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