[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Question: Can dpkg relocate package

Oh, I got thrown off by the fact that it said that it defaults to /var/lib/dpkg. Okay that helps
a lot thanks.

Is there also a way of letting the postinst, preinst, postrm and prerm scripts of knowing
what the new install path would be? Thanks

At 06/21/2001, Ibraheem Umaru-Mohammed wrote:
[Soraia Paz wrote...]
-| Yes,
-| I can convert the .rpm to .deb with alien and that works okay, but -| the scripts that run before and after install/uninstall don't run with dpkg.
-| So I've decided that I'm better off just creating Debian packages.
-| But now I can't find out how I would go about installing somewhere other
-| than the default location. I'm even a bit sketchy on specifying
-| the default install location. For example, if I wanted to install in /opt
-| by default would I just create a directory structure /opt/myProgram?
-| And if the user wants to install it somewhere else, is there an option for this?
-| Thanks

doesn't the --admindir option do what you want?

                        ibraheem umaru-mohammed

To UNSUBSCRIBE, email to debian-dpkg-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: