Re: How to use @preexec to test for installed packages

2019-04-19 Thread Mathieu Arnold
On Fri, Apr 19, 2019 at 02:36:38PM +0200, Matthias Fechner wrote: > Am 06.04.2019 um 20:59 schrieb Adam Weinberger: > > Especially since www/gitea does the same thing (and probably a number > > of others as well). > > I did now a lot of tests and came to the conclusion that I will add > these

Re: How to use @preexec to test for installed packages

2019-04-19 Thread Baptiste Daroussin
On Sat, Apr 06, 2019 at 03:58:48PM +0200, Matthias Fechner wrote: > Dear all, > > as pkg cannot handle CONFLICTS_INSTALL I tried now to implement this as > a preinstall command using @preexec in pkg-plist. > > The command should check if a package is installed and stop the > installation or

Re: How to use @preexec to test for installed packages

2019-04-19 Thread Matthias Fechner
Am 06.04.2019 um 20:59 schrieb Adam Weinberger: > Especially since www/gitea does the same thing (and probably a number > of others as well). I did now a lot of tests and came to the conclusion that I will add these checks into the startup script of gitlab-ce. Maybe this problem will be fixed in

Re: How to use @preexec to test for installed packages

2019-04-06 Thread Adam Weinberger
On Sat, Apr 6, 2019 at 12:49 PM Miroslav Lachman <000.f...@quip.cz> wrote: > > Matthew Seaman wrote on 2019/04/06 19:00: > > On 06/04/2019 14:58, Matthias Fechner wrote: > > > >> as pkg cannot handle CONFLICTS_INSTALL I tried now to implement this as > >> a preinstall command using @preexec in

Re: How to use @preexec to test for installed packages

2019-04-06 Thread Miroslav Lachman
Matthew Seaman wrote on 2019/04/06 19:00: On 06/04/2019 14:58, Matthias Fechner wrote: as pkg cannot handle CONFLICTS_INSTALL I tried now to implement this as a preinstall command using @preexec in pkg-plist. The command should check if a package is installed and stop the installation or

Re: How to use @preexec to test for installed packages

2019-04-06 Thread Matthew Seaman
On 06/04/2019 14:58, Matthias Fechner wrote: > as pkg cannot handle CONFLICTS_INSTALL I tried now to implement this as > a preinstall command using @preexec in pkg-plist. > > The command should check if a package is installed and stop the > installation or continue if the package is not

Re: How to use @preexec to test for installed packages

2019-04-06 Thread Matthias Fechner
Am 06.04.2019 um 18:01 schrieb Adam Weinberger: > What you're describing is > Makefile: > CONFLICTS_INSTALL= gogs does not work, please see here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234807 Gruß Matthias -- "Programming today is a race between software engineers striving to

Re: How to use @preexec to test for installed packages

2019-04-06 Thread Adam Weinberger
On Sat, Apr 6, 2019 at 7:59 AM Matthias Fechner wrote: > > Dear all, > > as pkg cannot handle CONFLICTS_INSTALL I tried now to implement this as > a preinstall command using @preexec in pkg-plist. > > The command should check if a package is installed and stop the > installation or continue if

Re: How to use @preexec to test for installed packages

2019-04-06 Thread Bob Eager
On Sat, 6 Apr 2019 15:58:48 +0200 Matthias Fechner wrote: > Dear all, > > as pkg cannot handle CONFLICTS_INSTALL I tried now to implement this > as a preinstall command using @preexec in pkg-plist. > > The command should check if a package is installed and stop the > installation or continue

How to use @preexec to test for installed packages

2019-04-06 Thread Matthias Fechner
Dear all, as pkg cannot handle CONFLICTS_INSTALL I tried now to implement this as a preinstall command using @preexec in pkg-plist. The command should check if a package is installed and stop the installation or continue if the package is not installed. I tried it with the following command: