Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Preliminary formalities --
- print('Welcome to the OC-OS installer.')
- print('This script will guide you through the installation of OC-OS and accompanying required files.')
- -- The installer! --
- print('Do you really want to install OC-OS? All existing data will be overwritten [Y/n]:')
- inst = read()
- if string.lower(inst) == 'y' then
- print('Downloading GitGet by apemanzilla....')
- shell.run('pastebin get W5ZkVYSi gitget')
- shell.run('gitget ocawesome101 oc-os')
- print('Rebooting in 3 seconds.')
- sleep(3)
- os.reboot()
- else
- if string.lower(inst) == 'n' then
- print('Okay. Bye!')
- sleep(1)
- os.reboot()
- else
- print('Invalid choice - assuming no.')
- sleep(1)
- os.reboot()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement