[svn-commits] kpfleming: linux/trunk r4572 - /linux/trunk/Makefile

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jul 8 13:49:15 CDT 2008


Author: kpfleming
Date: Tue Jul  8 13:49:15 2008
New Revision: 4572

URL: http://svn.digium.com/view/dahdi?view=rev&rev=4572
Log:
minor cleanups

Modified:
    linux/trunk/Makefile

Modified: linux/trunk/Makefile
URL: http://svn.digium.com/view/dahdi/linux/trunk/Makefile?view=diff&rev=4572&r1=4571&r2=4572
==============================================================================
--- linux/trunk/Makefile (original)
+++ linux/trunk/Makefile Tue Jul  8 13:49:15 2008
@@ -170,6 +170,7 @@
 	@if modinfo zaptel > /dev/null 2>&1; then \
 		echo -n "Removing Zaptel modules for kernel $(KVERS), please wait..."; \
 		build_tools/uninstall-modules zaptel $(KVERS); \
+		rm -rf /lib/modules/$(KVERS)/zaptel; \
 		echo "done."; \
 	fi
 endif
@@ -181,12 +182,12 @@
 	echo "Uninstalling modules is not supported with a DESTDIR specified."
 	exit 1
 else
-	@if modinfo dahdi> /dev/null 2>&1 ; then \
+	@if modinfo dahdi > /dev/null 2>&1 ; then \
 		echo -n "Removing DAHDI modules for kernel $(KVERS), please wait..."; \
 		build_tools/uninstall-modules dahdi $(KVERS); \
+		rm -rf /lib/modules/$(KVERS)/dahdi; \
 		echo "done."; \
 	fi
-	@rm -rf /lib/modules/$(KVERS)/dahdi
 	[ `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || :
 endif
 




More information about the svn-commits mailing list