From a79dd4517137d99cb57081d0095b926ed5453622 Mon Sep 17 00:00:00 2001 From: russell Date: Sun, 26 Dec 2004 23:59:53 +0000 Subject: Fix for SE Linux (bug #3147) git-svn-id: http://svn.digium.com/svn/zaptel/branches/v1-0@521 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b657b5b..04e31ca 100755 --- a/Makefile +++ b/Makefile @@ -281,7 +281,7 @@ install: all devices $(LIBTONEZONE) fi install -D -m 755 $(LIBTONEZONE) $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE) - + if [ -x /usr/sbin/sestatus ] && (/usr/sbin/sestatus | grep "SELinux status:" | grep -q "enabled") ; then restorecon -v $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE); fi install -D -m 644 zaptel.h $(INSTALL_PREFIX)/usr/include/linux/zaptel.h install -D -m 644 torisa.h $(INSTALL_PREFIX)/usr/include/linux/torisa.h install -D -m 644 tonezone.h $(INSTALL_PREFIX)/usr/include/tonezone.h -- cgit v1.2.3