Richard,

If I take that command, and add

--config-path ''

then it ignores the current installation and seems to run correctly.

Craig

On Sun, Mar 26, 2017 at 7:20 AM, Richard Shaw <hobbes1...@gmail.com> wrote:

> On Sun, Mar 26, 2017 at 12:19 AM, Craig Barratt <
> cbarr...@users.sourceforge.net> wrote:
>
>> In looking a the code, if config-path is specified then any current
>> config file is ignored.
>>
>> If you specify dest-dir then all of the output files are put below there.
>>
>> So if you specify both --config-path '' and --dest-dir, I believe any
>> existing install should be ignored.
>>
>
> Don't seem to work, it's already in there:
>
> %{__perl} configure.pl \
>         --batch \
>         --backuppc-user=backuppc \
>         --dest-dir %{buildroot} \
>         --config-dir %{_sysconfdir}/%{name}/ \
>         --config-override XferMethod=rsync \
>         --config-override CgiURL=http://localhost/%{name} \
>         --config-override ClientNameAlias=0 \
>         --cgi-dir %{_libexecdir}/%{name} \
>         --data-dir %{_localstatedir}/lib/%{name}/ \
>         --html-dir %{_datadir}/%{name}/html/ \
>         --html-dir-url /%{name}/images \
>         --install-dir %{_datadir}/%{name} \
>         --log-dir %{_localstatedir}/log/%{name} \
>         --hostname localhost \
>         --no-set-perms \
>         --uid-ignore
>
> Thanks,
> Richard
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> BackupPC-devel mailing list
> BackupPC-devel@lists.sourceforge.net
> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-devel
> Wiki:    http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-devel mailing list
BackupPC-devel@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-devel
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to