2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

Do not overwrite the old config file

git-svn-id: https://svn.fhem.de/fhem/trunk@341 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2009-01-22 19:32:34 +00:00
parent 582de28f92
commit 7d34fbdfcf

View File

@ -11,6 +11,7 @@ all:
@echo or \'make install-pgm2\' to install a web frontend too.
install:install-base
-mv $(VARDIR)/fhem.cfg $(VARDIR)/fhem.cfg.`date "+%Y-%m-%d_%H:%M:%S"`
cp examples/sample_fhem $(VARDIR)/fhem.cfg
@echo
@echo
@ -19,6 +20,7 @@ install:install-base
install-pgm2:install-base
cp webfrontend/pgm2/* $(MODDIR)/FHEM
cp docs/commandref.html docs/faq.html docs/HOWTO.html $(MODDIR)/FHEM
-mv $(VARDIR)/fhem.cfg $(VARDIR)/fhem.cfg.`date "+%Y-%m-%d_%H:%M:%S"`
cp examples/sample_pgm2 $(VARDIR)/fhem.cfg
cd examples; for i in *; do cp $$i $(MODDIR)/FHEM/example.$$i; done
@echo