diff options
author | Gaspartcho <93390411+Gaspartcho@users.noreply.github.com> | 2024-02-23 18:59:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-23 12:59:56 -0500 |
commit | 4f381aa35d66185b97bfba62d4002857660118f1 (patch) | |
tree | 37fafe84ab6c592a397fe77c46737df8bfc569b5 /src/lpm.lua | |
parent | 9a3755268a1dc42e99083c69d8fb4ce7c33ad169 (diff) | |
download | lite-xl-plugin-manager-4f381aa35d66185b97bfba62d4002857660118f1.tar.gz lite-xl-plugin-manager-4f381aa35d66185b97bfba62d4002857660118f1.zip |
Update extract: .tgz and +100 char name support (#73)
* added tar support
* fixed small mistake
* added support for utar + removed microtar as submodule
* will finish this tomorow
* added support for gnu and other
* re-done all small changes
* fixed pax format (hopefully)
* added a r to 'curent_read'
Diffstat (limited to 'src/lpm.lua')
-rw-r--r-- | src/lpm.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpm.lua b/src/lpm.lua index 7beb181..3f2a6ab 100644 --- a/src/lpm.lua +++ b/src/lpm.lua @@ -873,7 +873,7 @@ function Addon:install(bottle, installing) else common.get(file.url, temporary_path, file.checksum, write_progress_bar) local basename = common.basename(target_path) - local is_archive = basename:find("%.zip$") or basename:find("%.tar%.gz$") + local is_archive = basename:find("%.zip$") or basename:find("%.tar%.gz$") or basename:find("%.tgz$") local target = temporary_path if is_archive or basename:find("%.gz$") then log_action("Extracting file " .. basename .. " in " .. install_path) |