mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Changed installing config files to handle potentially broken 'cp -n'
This commit is contained in:
parent
05f03d6e38
commit
eb35faaf7d
4
HISTORY
4
HISTORY
@ -9862,3 +9862,7 @@ Video Disk Recorder Revision History
|
||||
formatted string with all the available frame data.
|
||||
- The recording info of the default skins now shows the frame parameters of the
|
||||
recording at the end of the description (if such information is available).
|
||||
|
||||
2024-01-05:
|
||||
|
||||
- Changed installing config files to handle potentially broken 'cp -n'.
|
||||
|
9
Makefile
9
Makefile
@ -4,7 +4,7 @@
|
||||
# See the main source file 'vdr.c' for copyright information and
|
||||
# how to reach the author.
|
||||
#
|
||||
# $Id: Makefile 5.1 2020/12/31 11:11:53 kls Exp $
|
||||
# $Id: Makefile 5.2 2024/01/05 14:16:16 kls Exp $
|
||||
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
@ -300,7 +300,12 @@ install-dirs:
|
||||
@mkdir -p $(DESTDIR)$(RESDIR)
|
||||
|
||||
install-conf: install-dirs
|
||||
@cp -pn *.conf $(DESTDIR)$(CONFDIR)
|
||||
# 'cp -n' may be broken, so let's do it the hard way
|
||||
@for i in *.conf; do\
|
||||
if ! [ -e $(DESTDIR)$(CONFDIR)/$$i ] ; then\
|
||||
cp -p $$i $(DESTDIR)$(CONFDIR);\
|
||||
fi\
|
||||
done
|
||||
|
||||
# Documentation:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user