Jump to content




CraftOS Debian (v0.1 alpha)

computer pocket

8 replies to this topic

#1 MineRobber___T

  • Members
  • 50 posts
  • LocationStop being nosy

Posted 23 November 2015 - 05:42 AM

This has been supplanted by MineRobberOS (now using GitHub!)

Original Post:
Spoiler

Edited by MineRobber___T, 29 December 2015 - 01:08 PM.


#2 Waitdev_

  • Members
  • 432 posts
  • LocationAdelaide

Posted 23 November 2015 - 09:55 AM

eh, slightly really broken. the "easy shell" doesn't do anything

#3 Creator

    Mad Dash Victor

  • Members
  • 2,168 posts
  • LocationYou will never find me, muhahahahahaha

Posted 23 November 2015 - 02:07 PM

Is there a github where I can view the code?

#4 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 23 November 2015 - 04:38 PM

View PostWait_, on 23 November 2015 - 09:55 AM, said:

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.

#5 MineRobber___T

  • Members
  • 50 posts
  • LocationStop being nosy

Posted 23 November 2015 - 09:14 PM

View PostCreator, on 23 November 2015 - 02:07 PM, said:

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.

#6 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 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.

#7 MineRobber___T

  • Members
  • 50 posts
  • LocationStop being nosy

Posted 24 November 2015 - 10:18 PM

View PostLyqyd, on 23 November 2015 - 10:27 PM, said:

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:

Quote

name = craftos-debian
type = pastebin
url = h4uwy8JK
filename = startup
category = os
version = 0.1
dependencies = none
size = 50
end


#8 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 24 November 2015 - 11:53 PM

You'd use the target attribute:

target = /

#9 MineRobber___T

  • Members
  • 50 posts
  • LocationStop being nosy

Posted 25 November 2015 - 05:48 PM

View PostLyqyd, on 24 November 2015 - 11:53 PM, said:

You'd use the target attribute:

target = /

ok, thanks





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users