Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Code automatically excecuted on turtle startup
- ]]
- -- should check to see if all required common libraries are installed
- LIBRARIES = {
- ["common/systemLib.lua"] = "q4vfvQPk",
- ["common/storageLib.lua"] = "SzD8A2sq",
- ["common/mineLib.lua"] = "N0mkQCxV",
- }
- for lib, pbID in pairs(LIBRARIES) do
- if fs.exists(lib) == false then
- print("Reacquiring library: %s", lib)
- shell.run(string.format("pastebin get %s %s", pbID, lib)) -- run full package installer
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment