mirror of
https://github.com/MikaylaFischler/cc-mek-scada.git
synced 2024-08-30 18:22:34 +00:00
don't report settings files as not used
This commit is contained in:
parent
0160d4c53a
commit
ef6fdaa3ac
@ -18,7 +18,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
local function println(message) print(tostring(message)) end
|
||||
local function print(message) term.write(tostring(message)) end
|
||||
|
||||
local CCMSI_VERSION = "v1.11"
|
||||
local CCMSI_VERSION = "v1.11a"
|
||||
|
||||
local install_dir = "/.install-cache"
|
||||
local manifest_path = "https://mikaylafischler.github.io/cc-mek-scada/manifests/"
|
||||
@ -181,7 +181,7 @@ local function clean(manifest)
|
||||
if fs.isDir(val) then
|
||||
if tree[val] ~= nil then _clean_dir("/" .. val, tree[val]) end
|
||||
if #fs.list(val) == 0 then fs.delete(val);println("deleted " .. val) end
|
||||
elseif not _in_array(val, tree) then
|
||||
elseif not _in_array(val, tree) and (string.find(val, ".settings") == nil) then
|
||||
root_ext = true
|
||||
yellow();println(val .. " not used")
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user