Date: Wed, 1 May 2002 09:39:15 -0400 From: Rob Ellis <rob@web.ca> To: Darren Pilgrim <dmp@pantherdragon.org> Cc: freebsd-questions@freebsd.org Subject: Re: make install wrapper? Message-ID: <20020501133915.GB20305@web.ca> In-Reply-To: <3CCF2E1F.EEF74273@pantherdragon.org> References: <3CCF2E1F.EEF74273@pantherdragon.org>
next in thread | previous in thread | raw e-mail | index | archive | help
depending on the package you're installing, you could use gnu's "stow": http://www.gnu.ai.mit.edu/software/stow/stow.html basically, you install your package to something like /usr/local/stow/something-1.0 and then use stow to create symlinks to the right places. you can later install something-1.1 to /usr/local/stow/something-1.1, unstow the first version, stow the second version, and if there's any problem it's easy to back out. also easy to completely get rid of 1.0... - rob On Tue, Apr 30, 2002 at 04:51:59PM -0700, Darren Pilgrim wrote: > Is there a way to, or does anyone know of a (collection of) script(s) > that can take the makefile for a source package and build a second > script around it that backs up any files that will be overwritten before > installing the compiled package, create an uninstall script if one isn't > present, and handles restoration of the old files after an uninstall? > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Rob Ellis <rob@web.ca> System Administrator, Web Networks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020501133915.GB20305>