53 posts
Location
Stop being nosy
Posted 23 November 2015 - 05:42 AM
This has been supplanted by
MineRobberOS (now using GitHub!)
Original Post:
Spoiler
CraftOS Debian
version 0.1 alpha
This is my first ComputerCraft program, still in alpha stages.
How to get:
To install CraftOS Debian, you need lyqyd's packman package manager. Install that with "pastebin run 4zyreNZy". After running that command, use "packman fetch install craftos-debian". Then, restart the computer. If, for whatever reason, you don't like CraftOS Debian, simply type "exit" at the prompt, and then, at the shell, type "del startup". Now, it shall be uninstalled.
Changelog:
0.1
-Cringeworthy programming (first OS program)
-planned to be rehauled soon (this version will become the package craftos-debian-legacy)
Edited on 29 December 2015 - 12:08 PM
818 posts
Location
Wherever you want me to be
Posted 23 November 2015 - 09:55 AM
eh, slightly really broken. the "easy shell" doesn't do anything
2679 posts
Location
You will never find me, muhahahahahaha
Posted 23 November 2015 - 02:07 PM
Is there a github where I can view the code?
8543 posts
Posted 23 November 2015 - 04:38 PM
eh, slightly really broken. the "easy shell" doesn't do anything
If the easy-shell script isn't doing what it's supposed to do (mainly, add /usr/bin to the shell path), please post a bug report on the main packman thread.
53 posts
Location
Stop being nosy
Posted 23 November 2015 - 09:14 PM
Is there a github where I can view the code?
Not exactly, but
here is the code that I made. (it's very messy btw, panning on overhauling the code base soon)
Oh, by the way, Lyqyd, what's the packman command to purge a package? I forgot while writing the OP and went with a "delete the startup file" solution.
8543 posts
Posted 23 November 2015 - 10:27 PM
You'd use the remove keyword: packman remove craftos-debian
Also, since your package replaces the startup file entirely, you might be interested in adding setup/cleanup scripts to preserve a pre-existing startup file (if one exists), and restore it when your package is removed. Up to you, of course, but your users might appreciate it.
53 posts
Location
Stop being nosy
Posted 24 November 2015 - 10:18 PM
You'd use the remove keyword: packman remove craftos-debian
Also, since your package replaces the startup file entirely, you might be interested in adding setup/cleanup scripts to preserve a pre-existing startup file (if one exists), and restore it when your package is removed. Up to you, of course, but your users might appreciate it.
I'll work on that when I get more done on it, but in the meantime, I'll add a warning to the OP.
About that, though:
I tried installing it on a computer, and it didn't work. How do you install a file to the root instead of the usr/bin folder.
Here's the repository section:
name = craftos-debian
type = pastebin
url = h4uwy8JK
filename = startup
category = os
version = 0.1
dependencies = none
size = 50
end
8543 posts
Posted 24 November 2015 - 11:53 PM
You'd use the target attribute:
target = /
53 posts
Location
Stop being nosy
Posted 25 November 2015 - 05:48 PM
You'd use the target attribute:
target = /
ok, thanks