Re: Autopackage installation systemwide/local

"Isak Savo" <[email protected]>
Newsgroups gmane.comp.autopackage.devel
Message-ID <[email protected]>
On Sat, Apr 5, 2008 at 4:51 PM, Jan Niklas Hasse <[email protected]> wrote:
> On Sat, Apr 5, 2008 at 4:40 PM, Hylke Donker <[email protected]> wrote:
>  > Hi,
>  > To have patches installed correctly I would like to have a command-line
>  > argument to force the installation system-wide or local.
>  > For example, when I execute something like this: `package install my.package
>  > --system-wide` it should not give the user a choise to install it in the
>  > local directory. Is there such thing?
>
>  No, afaik there is no such option. But you can add "RootOnly" to your
>  package specfile to force installation as root, but I think that's not
>  what you want, is it?

No, there are no such argument. And frankly, why would there be one?

It's the user that is making the installation, and if that user wishes
to install as root, (s)he can:
 a) run as root directly (sudo/su -c)
or
 b) enter the password when asked for by autopackage

If the *packager* wants to specify 'this must be installed systemwide'
then RootOnly is the key to use, as pointed out by Jan Niklas Hasse

>  > If not, would it be hard to make such
>  > thing?
>
>  I think it would be quiet easy. If you like, I could create a patch
>  for this within the next week.
>  Let's wait what one of the autopackage developers say and maybe open a
>  ticket in trac then.
>

I'd like to hear a good use case for such a switch before opening a ticket.

-Isak

---------------------------------------------------------------------
To unsubscribe, e-mail: autopackage-dev-unsubscribe-OfajU3CKLf1/[email protected]
For additional commands, e-mail: autopackage-dev-help-OfajU3CKLf1/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.