From 2096ce2d1b05656cc5da69ff9ff709793a75273c Mon Sep 17 00:00:00 2001 From: Mika Havela Date: Thu, 10 Jan 2008 16:10:56 +0000 Subject: Hiding static because it's not a skin git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@539 ab2d0c66-481e-0410-8bed-d214d4d58bed --- skins-model.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'skins-model.lua') diff --git a/skins-model.lua b/skins-model.lua index 41000b1..f97198e 100644 --- a/skins-model.lua +++ b/skins-model.lua @@ -18,7 +18,7 @@ local function list_skins() local k,v for k,v in pairs(posix.dir(path) or {}) do -- Ignore files that begins with a '.' and 'cgi-bin' and only list folders - if not ((string.match(v, "^%.")) or (string.match(v, "^cgi[-]bin")) or (posix.stat(path .. v).type ~= "directory")) then + if not ((string.match(v, "^%.")) or (string.match(v, "^cgi[-]bin")) or (string.match(v, "^static")) or (posix.stat(path .. v).type ~= "directory")) then local f = v local current = conf.skin if (current == f) then -- cgit v1.2.3