Browse Source

Changed install location and datafile to not conflict with oppm

environments/production/deployments/11
Drew Short 6 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"] = {
files = {
["spm/spm.lua"] = "/"
["spm/spm.lua"] = "//bin"
},
dependencies = {},
name = "Sothr Package Manager",

2
src/spm/spm.lua

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

Loading…
Cancel
Save