From 119cec4c6cd67151b6f3337f441fb3c72eee34af Mon Sep 17 00:00:00 2001 From: Drew Short Date: Sat, 13 Jan 2018 01:18:20 -0600 Subject: [PATCH] Bumping SPM version --- src/programs.cfg | 2 +- src/spm/spm.lua | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/programs.cfg b/src/programs.cfg index cd21ce5..601ece6 100644 --- a/src/programs.cfg +++ b/src/programs.cfg @@ -10,6 +10,6 @@ note = "SPM operates similarly to OPPM, with slight modifications to referential repositories", hidden = false, repo = "", - version = "0.1" + version = "0.2" } } \ No newline at end of file diff --git a/src/spm/spm.lua b/src/spm/spm.lua index b7732a0..6361097 100644 --- a/src/spm/spm.lua +++ b/src/spm/spm.lua @@ -109,7 +109,7 @@ local function readFromFile(fNum) end if not fs.exists(fs.path(path)) then fs.makeDirectory(fs.path(path)) - end + end/o if not fs.exists(path) then return { -1 } end @@ -213,7 +213,7 @@ local function printPackages(tPacks) end term.clear() local xRes, yRes = gpu.getResolution() - print("--OpenPrograms Package list--") + print("--SPM Package list--") local xCur, yCur = term.getCursor() for _, j in ipairs(tPacks) do term.write(j .. "\n") @@ -223,7 +223,7 @@ local function printPackages(tPacks) local event = event.pull("key_down") if event then term.clear() - print("--OpenPrograms Package list--") + print("--SPM Package list--") xCur, yCur = term.getCursor() end end