Browse Source

Changed install location and datafile to not conflict with oppm

environments/production/deployments/11
Drew Short 7 years ago
parent
commit
f4e6ab026a
  1. 2
      src/programs.cfg
  2. 2
      src/spm/spm.lua

2
src/programs.cfg

@ -1,7 +1,7 @@
{ {
["spm"] = { ["spm"] = {
files = { files = {
["spm/spm.lua"] = "/"
["spm/spm.lua"] = "//bin"
}, },
dependencies = {}, dependencies = {},
name = "Sothr Package Manager", name = "Sothr Package Manager",

2
src/spm/spm.lua

@ -99,7 +99,7 @@ end
local function readFromFile(fNum) local function readFromFile(fNum)
local path local path
if fNum == 1 then if fNum == 1 then
path = "/etc/opdata.svd"
path = "/etc/spdata.svd"
elseif fNum == 2 then elseif fNum == 2 then
path = "/etc/spm.cfg" path = "/etc/spm.cfg"
if not fs.exists(path) then if not fs.exists(path) then

Loading…
Cancel
Save