commit 91c75d9a5eaf40631fa128dc30452e4a3184a242 from: vincent.delft date: Thu Jul 5 06:05:13 2018 UTC better makefile for config file commit - 670506088296dcae849c1c749e401154f8701a3a commit + 91c75d9a5eaf40631fa128dc30452e4a3184a242 blob - 1709efc94b86ad3377567ff7be40b34502305546 blob + 323289f5fb4f09574c16fd93f5c6c79b599283a3 --- Makefile +++ Makefile @@ -5,7 +5,7 @@ ETC = /etc install: @echo == Installing == - install -C -b -m 0600 vdcron_root.conf ${ETC}/vdcron.conf.sample + if [ -f ${ETC}/vdcron.conf ]; then echo "!! We do not overwrite your config file"; else install -C -b -m 0600 vdcron_root.conf ${ETC}/vdcron.conf; fi install -C -b vdcron ${PREFIX}/bin install -d ${PREFIX}/man/man8 install -C vdcron.8 ${PREFIX}/man/man8