From ffa59f8a144faae16a9d53f7565218ab861f1dd0 Mon Sep 17 00:00:00 2001 From: Hasso Tepper Date: Tue, 12 Feb 2008 21:36:19 +0000 Subject: [PATCH] - Install bthcid.conf. - Don't overwrite bthcid.conf and hosts. - Use permissions which make sense. --- etc/bluetooth/Makefile | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/etc/bluetooth/Makefile b/etc/bluetooth/Makefile index 16c9ac55c4..d07efd58ab 100644 --- a/etc/bluetooth/Makefile +++ b/etc/bluetooth/Makefile @@ -1,7 +1,16 @@ -# $DragonFly: src/etc/bluetooth/Makefile,v 1.1 2008/01/03 13:35:20 hasso Exp $ +# $DragonFly: src/etc/bluetooth/Makefile,v 1.2 2008/02/12 21:36:19 hasso Exp $ -FILESDIR= /etc/bluetooth -FILES= hosts protocols -FILESMODE= 644 +FILESDIR= /etc/bluetooth +FILES= protocols + +.if !exists(${DESTDIR}/etc/bluetooth/hosts) +FILES+= hosts +FILESMODE_hosts= 644 +.endif + +.if !exists(${DESTDIR}/etc/bluetooth/bthcid.conf) +FILES+= bthcid.conf +FILESMODE_bthcid.conf= 600 +.endif .include -- 2.41.0