aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2024-04-25 12:26:01 -0400
committerAdam Harrison <adamdharrison@gmail.com>2024-04-25 12:26:01 -0400
commit13b8d534cb40e68d9e7e80bc0e6342e60feb4bcc (patch)
treedf3365358b49960ef975d685582446d9d10c3e0d
parent8e6f87af0777a7ad9e3569723e3b5d06dd08fccc (diff)
downloadlite-xl-plugin-manager-13b8d534cb40e68d9e7e80bc0e6342e60feb4bcc.tar.gz
lite-xl-plugin-manager-13b8d534cb40e68d9e7e80bc0e6342e60feb4bcc.zip
Fixed stuff.
-rw-r--r--src/lpm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpm.lua b/src/lpm.lua
index 4413148..95ebd83 100644
--- a/src/lpm.lua
+++ b/src/lpm.lua
@@ -1488,7 +1488,7 @@ function Bottle:apply(addons, config)
end
for i, addon in pairs(self:installed_addons()) do
if #common.grep(installed, function(p) return p:depends_on(addon) end) == 0 then
- if not applied[addon.id] and not addon:is_core(self) and not addon:is_bundled(self) then
+ if not applied[addon.id] and not addon:is_core(self) and not addon:is_bundled(self) and addon.type ~= "meta" then
addon:uninstall(self)
changes = true
end