another issue with WebInstall.
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ for drive in fs.list("/mnt/") do
|
|||||||
table.insert(drives, drive)
|
table.insert(drives, drive)
|
||||||
end
|
end
|
||||||
if #drives == 1 and not component.invoke(component.get(drives[1]:sub(1, 3), "filesystem"), "isReadOnly") then
|
if #drives == 1 and not component.invoke(component.get(drives[1]:sub(1, 3), "filesystem"), "isReadOnly") then
|
||||||
installLocation = drives[1]
|
installLocation = "/mnt/" .. drives[1]
|
||||||
elseif #drives == 1 then
|
elseif #drives == 1 then
|
||||||
io.stderr.write("All drives are read-only.\nHalyde cannot be installed.")
|
io.stderr.write("All drives are read-only.\nHalyde cannot be installed.")
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user