1
0
mirror of https://github.com/AR2000AR/openComputers_codes.git synced 2025-09-08 14:41:14 +02:00

[pm-get] fix crash when a optional config file is missing

This commit is contained in:
2023-05-11 17:52:10 +02:00
parent 750c0991fc
commit 651efabe70
4 changed files with 3 additions and 2 deletions

View File

@@ -337,7 +337,7 @@
["pm_get"] = {
["manifestVersion"] = "1.0",
["package"] = "pm_get",
["version"] = "1.3.1",
["version"] = "1.3.2",
["name"] = "pm get",
["repo"] = "tree/master/pm",
["description"] = "Download and install package for pm",

Binary file not shown.

View File

@@ -155,6 +155,7 @@ end
local function isAuto(package)
local auto = false
if (not filesystem.exists(AUTO_INSTALLED)) then return false end
for line in io.lines(AUTO_INSTALLED) do
if (line == package) then
auto = true

View File

@@ -351,7 +351,7 @@
dependencies = {
["pm"] = "/"
},
version = "1.3.1"
version = "1.3.2"
name = "pm get",
description = "Download and install package for pm",
authors = "AR2000AR",