[Kolab-devel] [issue587] Linux'ism in upgrade procedure to BETA1

Steffen Hansen steffen at klaralvdalens-datakonsult.se
Mon Jan 3 14:18:26 CET 2005


On Monday 03 January 2005 14:14, Steffen Hansen wrote:
> On Wednesday 29 December 2004 09:07, Matt Douhan wrote:
> > New submission from Matt Douhan <matt at fruitsalad.org>:
> >
> > When upgrading to BETA 1 from an earlier version of kolab, the
> > upgrade fails because a Linux specific switch is used for the cp
> > command, on FBSD we do not have the -a switch to cp and hence the
> > cp-ra backup will fail.
> >
> > Line 202 in kolab_bootstrap is the offender AFAICS
>
> I replaced it with "cp -pR". Would that work for you?

Correction, I do "cp -pRP" which should be equivalent to "cp -a" and 
work on both bsd and gnu.

regards
-- 
Steffen Hansen          |       Klarälvdalens Datakonsult AB
Senior Software Engineer|       http://www.klaralvdalens-datakonsult.se
                        |
                        |       Platform-independent
                        |       software solutions




More information about the devel mailing list