|
|
@ -344,7 +344,7 @@ installPackage = (requestedPackage, installPath, doUpdate) -> |
|
|
|
locallyInstalledPackages[requestedPackage] = {} |
|
|
|
term.write("Installing Files...") |
|
|
|
for filePath, requestedInstallPath in pairs(packageInfo.files) |
|
|
|
installedPath |
|
|
|
installedPath = nil |
|
|
|
|
|
|
|
if string.find(requestedInstallPath, "^//") |
|
|
|
localInstalledPath = string.sub(requestedInstallPath, 2) |
|
|
@ -360,7 +360,7 @@ installPackage = (requestedPackage, installPath, doUpdate) -> |
|
|
|
installedPath = fs.concat(installPath, requestedInstallPath, string.gsub(filePath, ".+(/.-)$", "%1"), nil) |
|
|
|
|
|
|
|
|
|
|
|
downloadPath |
|
|
|
downloadPath = nil |
|
|
|
if (packageInfo.minified or options.m) and not options.nm |
|
|
|
downloadPath = repositoryPath .. "/" .. string.gsub(filePath, "(.+)%.lua$", "%1") .. ".min.lua" |
|
|
|
else |
|
|
|