From d1dd4cb5fcccafeab672df9ef3bd1f0d7245df3a Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Tue, 20 Jun 2023 17:25:37 -0400 Subject: Updated lpm on plugin manager as optional, as we will use the system lpm if available. --- src/lpm.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lpm.lua') diff --git a/src/lpm.lua b/src/lpm.lua index 4f5a87b..5be0051 100644 --- a/src/lpm.lua +++ b/src/lpm.lua @@ -833,7 +833,7 @@ function Addon:install(bottle, installing) local file_arch = file.arch and type(file.arch) == "string" and { file.arch } or file.arch if not file.arch or #common.grep(file_arch, function(e) return e == arch end) > 0 then if file.arch then has_one_file = true end - if not file.optional or (not NO_INSTALL_OPTIONAL and prompt(common.basename(file.url) .. " is an optional dependency of " .. self.id .. ". Should we install it?")) then + if not file.optional or (not NO_INSTALL_OPTIONAL and prompt(common.basename(file.url) .. " is an optional file for " .. self.id .. ". Should we install it?")) then if not file.checksum then error("requires a checksum") end local target_path = install_path .. PATHSEP .. (file.path or common.basename(file.url)) local temporary_path = temporary_install_path .. PATHSEP .. (file.path or common.basename(file.url)) -- cgit v1.2.3