Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local h, f = http.get("https://api.bitbucket.org/1.0/repositories/Kilobyte/kilos/raw/master/usr/bin/devupdate.lua"), fs.open("/usr/bin/devupdate.lua", "w")
- f.write(h.readAll())
- f.close()
- h.close()
- if not fs.exists("/usr/lib") then fs.makeDir("/usr/lib") end
- h, f = http.get("https://api.bitbucket.org/1.0/repositories/Kilobyte/kilos/raw/master/usr/lib/json.lua"), fs.open("/usr/lib/json.lua", "w")
- f.write(h.readAll())
- f.close()
- h.close()
- h, f = http.get("https://api.bitbucket.org/1.0/repositories/Kilobyte/kilos/raw/master/usr/lib/config.lua"), fs.open("/usr/lib/config.lua", "w")
- f.write(h.readAll())
- f.close()
- h.close()
Add Comment
Please, Sign In to add comment