Re: channels.conf overwritten when installing vdr 1.7.30

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> This was part of the patch that introduced FHS compatibility:
>
> ---------------------------------------------------------------------------
> --- ./Makefile  2012/04/15 13:21:31     2.27
> +++ ./Makefile  2012/09/01 13:22:33
> ...
> @@ -193,12 +198,15 @@
>
>  # Configuration files:
>
> -install-conf:
> +install-dirs:
>         @mkdir -p $(DESTDIR)$(VIDEODIR)
> -       @if [ ! -d $(DESTDIR)$(CONFDIR) ]; then\
> -           mkdir -p $(DESTDIR)$(CONFDIR);\
> -           cp *.conf $(DESTDIR)$(CONFDIR);\
> -           fi
> +       @mkdir -p $(DESTDIR)$(CONFDIR)
> +       @mkdir -p $(DESTDIR)$(CACHEDIR)
> +       @mkdir -p $(DESTDIR)$(RESDIR)
> +
> +install-conf:
> +       @cp *.conf $(DESTDIR)$(CONFDIR)
> +
>
>  # Documentation:
>
> ---------------------------------------------------------------------------

Blindly overwriting files is terrible! The author of that FHS patch
should fix it so those files are only copied if they don't already
exist.

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux