[vdr] channels.conf overwritten when installing vdr 1.7.30

Klaus Schmidinger Klaus.Schmidinger at tvdr.de
Tue Oct 9 10:36:21 CEST 2012


On 08.10.2012 21:47, Peter Münster wrote:
> On Mon, Oct 08 2012, Klaus Schmidinger wrote:
>
>> +install-conf:
>> +       @cp *.conf $(DESTDIR)$(CONFDIR)
>
> What about "@cp -n"?

Sounds like the right thing to do:

---------------------------------------------------------------
--- Makefile    2012/09/07 14:11:37     2.29
+++ Makefile    2012/10/09 08:32:25
@@ -211,7 +211,7 @@
         @mkdir -p $(DESTDIR)$(RESDIRDEF)

  install-conf:
-       @cp *.conf $(DESTDIR)$(CONFDIRDEF)
+       @cp -n *.conf $(DESTDIR)$(CONFDIRDEF)


  # Documentation:
---------------------------------------------------------------


Klaus



More information about the vdr mailing list