On 3/26/17 5:20 PM, Richard Shaw wrote:
> On Sun, Mar 26, 2017 at 12:19 AM, Craig Barratt 
> <cbarr...@users.sourceforge.net <mailto: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 <http://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
> 
  
But you have specified --config-dir instead of --config-path .

Probably https://github.com/backuppc/backuppc/pull/79 would help with your 
issue if you have to use --config-dir .


------------------------------------------------------------------------------
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