File tree 1 file changed +11
-5
lines changed
1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -613,19 +613,22 @@ install : $(APPS) direwolf.conf tocalls.txt symbols-new.txt symbolsX.txt dw-icon
613
613
@echo " "
614
614
615
615
616
+ # Put sample configuration files in home directory.
616
617
# These would be done as ordinary user.
617
618
618
619
# The Raspberry Pi has ~/Desktop but Ubuntu does not.
619
620
620
621
# TODO: Handle Linux variations correctly.
621
622
623
+ # Version 1.4 - Add "-n" option to avoid clobbering existing, probably customized, config files.
624
+
622
625
623
626
.PHONY: install-conf
624
627
install-conf : direwolf.conf
625
- cp direwolf.conf ~
626
- cp sdr.conf ~
627
- cp telemetry-toolkit/telem-m0xer-3.txt ~
628
- cp telemetry-toolkit/telem-*.conf ~
628
+ cp -n direwolf.conf ~
629
+ cp -n sdr.conf ~
630
+ cp -n telemetry-toolkit/telem-m0xer-3.txt ~
631
+ cp -n telemetry-toolkit/telem-*.conf ~
629
632
ifneq ($(wildcard $(HOME)/Desktop),)
630
633
@echo " "
631
634
@echo "This will add a desktop icon on some systems:"
@@ -635,10 +638,13 @@ ifneq ($(wildcard $(HOME)/Desktop),)
635
638
endif
636
639
637
640
641
+ # dw-start.sh is greatly improved in version 1.4.
642
+ # It should probably be part of install-conf because it is not just for the RPi.
643
+
638
644
.PHONY: install-rpi
639
645
install-rpi : dw-start.sh
640
646
chmod +x dw-start.sh
641
- cp dw-start.sh ~
647
+ cp -n dw-start.sh ~
642
648
ln -f -s /usr/share/applications/direwolf.desktop ~/Desktop/direwolf.desktop
643
649
644
650
You can’t perform that action at this time.
0 commit comments