[zaptel-commits] file: trunk r2161 - in /trunk: ./ firmware/Makefile

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Mon Feb 12 16:44:00 MST 2007


Author: file
Date: Mon Feb 12 17:44:00 2007
New Revision: 2161

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2161
Log:
Merged revisions 2160 via svnmerge from 
https://origsvn.digium.com/svn/zaptel/branches/1.4

........
r2160 | file | 2007-02-12 18:42:30 -0500 (Mon, 12 Feb 2007) | 2 lines

Get rid of the old dot files if installing a new version.

........

Modified:
    trunk/   (props changed)
    trunk/firmware/Makefile

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/firmware/Makefile
URL: http://svn.digium.com/view/zaptel/trunk/firmware/Makefile?view=diff&rev=2161&r1=2160&r2=2161
==============================================================================
--- trunk/firmware/Makefile (original)
+++ trunk/firmware/Makefile Mon Feb 12 17:44:00 2007
@@ -69,10 +69,12 @@
 	@echo "Installing zaptel-fw-oct6114-064.bin to hotplug firmware directories"
 	if [ -d $(INSTALL_PREFIX)/usr/lib/hotplug/firmware ]; then \
 		$(INSTALL) -m 644 zaptel-fw-oct6114-064.bin $(INSTALL_PREFIX)/usr/lib/hotplug/firmware; \
+		rm -rf $(INSTALL_PREFIX)/usr/lib/hotplug/firmware/.zaptel-fw-oct6114-064-*; \
 		touch $(INSTALL_PREFIX)/usr/lib/hotplug/firmware/.zaptel-fw-oct6114-064-$(OCT6114_064_VERSION); \
 	fi
 	if [ -d $(INSTALL_PREFIX)/lib/firmware ]; then \
 		$(INSTALL) -m 644 zaptel-fw-oct6114-064.bin $(INSTALL_PREFIX)/lib/firmware; \
+		rm -rf $(INSTALL_PREFIX)/lib/firmware/.zaptel-fw-oct6114-064-*; \
 		touch $(INSTALL_PREFIX)/lib/firmware/.zaptel-fw-oct6114-064-$(OCT6114_064_VERSION); \
 	fi
 endif
@@ -90,10 +92,12 @@
 	@echo "Installing zaptel-fw-oct6114-128.bin to hotplug firmware directories"
 	if [ -d $(INSTALL_PREFIX)/usr/lib/hotplug/firmware ]; then \
 		$(INSTALL) -m 644 zaptel-fw-oct6114-128.bin $(INSTALL_PREFIX)/usr/lib/hotplug/firmware; \
+		rm -rf $(INSTALL_PREFIX)/usr/lib/hotplug/firmware/.zaptel-fw-oct6114-128-*; \
 		touch $(INSTALL_PREFIX)/usr/lib/hotplug/firmware/.zaptel-fw-oct6114-128-$(OCT6114_128_VERSION); \
 	fi
 	if [ -d $(INSTALL_PREFIX)/lib/firmware ]; then \
 		$(INSTALL) -m 644 zaptel-fw-oct6114-128.bin $(INSTALL_PREFIX)/lib/firmware; \
+		rm -rf $(INSTALL_PREFIX)/lib/firmware/.zaptel-fw-oct6114-128-*; \
 		touch $(INSTALL_PREFIX)/lib/firmware/.zaptel-fw-oct6114-128-$(OCT6114_128_VERSION); \
 	fi
 endif
@@ -111,10 +115,12 @@
 	@echo "Installing zaptel-fw-tc400m.bin to hotplug firmware directories"
 	if [ -d $(INSTALL_PREFIX)/usr/lib/hotplug/firmware ]; then \
 		$(INSTALL) -m 644 zaptel-fw-tc400m.bin $(INSTALL_PREFIX)/usr/lib/hotplug/firmware; \
+		rm -rf $(INSTALL_PREFIX)/usr/lib/hotplug/firmware/.zaptel-fw-tc400m-*; \
 		touch $(INSTALL_PREFIX)/usr/lib/hotplug/firmware/.zaptel-fw-tc400m-$(TC400M_VERSION); \
 	fi
 	if [ -d $(INSTALL_PREFIX)/lib/firmware ]; then \
 		$(INSTALL) -m 644 zaptel-fw-tc400m.bin $(INSTALL_PREFIX)/lib/firmware; \
+		rm -rf $(INSTALL_PREFIX)/lib/firmware/.zaptel-fw-tc400m-*; \
 		touch $(INSTALL_PREFIX)/lib/firmware/.zaptel-fw-tc400m-$(TC400M_VERSION); \
 	fi
 endif



More information about the zaptel-commits mailing list