Re: Autopackage installation systemwide/local
"Hylke Donker" <[email protected]>
| Newsgroups | gmane.comp.autopackage.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Apr 5, 2008 at 5:13 PM, Isak Savo <[email protected]> wrote: > 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 I have autopackage embedded in my program(the frontend is intergrated in my program). I know whether the user chose to install a package system-wide or local, but I wanted my patches to be properly installed. For example, if the user chose to install the package locally, I don't want the user to install the patch system-wide. > > > 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. > That would be very nice :-) > > 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] > > -- Blog: http://www.donkerdump.nl