mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-16 05:11:59 +01:00
23 lines
786 B
Diff
23 lines
786 B
Diff
Index: dahdi-linux-2.0.0-rc4/Makefile
|
|
===================================================================
|
|
--- dahdi-linux-2.0.0-rc4.orig/Makefile 2008-09-09 14:07:23.000000000 +0300
|
|
+++ dahdi-linux-2.0.0-rc4/Makefile 2008-09-09 14:12:31.000000000 +0300
|
|
@@ -190,7 +190,7 @@
|
|
build_tools/uninstall-modules dahdi $(KVERS)
|
|
endif
|
|
$(KMAKE) INSTALL_MOD_PATH=$(DESTDIR) INSTALL_MOD_DIR=dahdi modules_install
|
|
- [ `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || :
|
|
+ [ -z "$(DESTDIR)" -a `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || :
|
|
|
|
uninstall-modules:
|
|
ifdef DESTDIR
|
|
@@ -203,7 +203,7 @@
|
|
rm -rf /lib/modules/$(KVERS)/dahdi; \
|
|
echo "done."; \
|
|
fi
|
|
- [ `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || :
|
|
+ [ -z "$(DESTDIR)" -a `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || :
|
|
endif
|
|
|
|
update:
|