Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local update = http.get("https://raw.githubusercontent.com/DoubleQuestionMark/apt-get/master/apt-get")
- if fs.exists('apt-get') then
- fs.delete('apt-get')
- end
- if update then
- local handle = update.readAll()
- update.close()
- local file = fs.open("apt-get","w")
- file.write(handle)
- file.close()
- else
- print("An error occured while downloading apt-get")
- end
- shell.run('apt-get help')
Add Comment
Please, Sign In to add comment