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:
parent
582de28f92
commit
7d34fbdfcf
@ -11,6 +11,7 @@ all:
|
|||||||
@echo or \'make install-pgm2\' to install a web frontend too.
|
@echo or \'make install-pgm2\' to install a web frontend too.
|
||||||
|
|
||||||
install:install-base
|
install:install-base
|
||||||
|
-mv $(VARDIR)/fhem.cfg $(VARDIR)/fhem.cfg.`date "+%Y-%m-%d_%H:%M:%S"`
|
||||||
cp examples/sample_fhem $(VARDIR)/fhem.cfg
|
cp examples/sample_fhem $(VARDIR)/fhem.cfg
|
||||||
@echo
|
@echo
|
||||||
@echo
|
@echo
|
||||||
@ -19,6 +20,7 @@ install:install-base
|
|||||||
install-pgm2:install-base
|
install-pgm2:install-base
|
||||||
cp webfrontend/pgm2/* $(MODDIR)/FHEM
|
cp webfrontend/pgm2/* $(MODDIR)/FHEM
|
||||||
cp docs/commandref.html docs/faq.html docs/HOWTO.html $(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
|
cp examples/sample_pgm2 $(VARDIR)/fhem.cfg
|
||||||
cd examples; for i in *; do cp $$i $(MODDIR)/FHEM/example.$$i; done
|
cd examples; for i in *; do cp $$i $(MODDIR)/FHEM/example.$$i; done
|
||||||
@echo
|
@echo
|
||||||
|
Loading…
Reference in New Issue
Block a user