From b9a86ec70ed4ffe5009c4979454f0d99c8559b45 Mon Sep 17 00:00:00 2001 From: Ivo Timmermans Date: Sun, 21 May 2000 22:40:41 +0000 Subject: [PATCH] Use /etc/tinc/example as a base directory for an example. /etc/tinc/example/README points to /usr/share/doc/tinc/README.Debian. --- debian/conffiles | 2 +- debian/dirs | 3 ++- debian/rules | 5 +++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/debian/conffiles b/debian/conffiles index bcdd13f1..4be7a806 100644 --- a/debian/conffiles +++ b/debian/conffiles @@ -1,2 +1,2 @@ -/etc/tinc/tinc.conf +/etc/tinc/example/tinc.conf /etc/init.d/tinc diff --git a/debian/dirs b/debian/dirs index 7c831f56..d6cca390 100644 --- a/debian/dirs +++ b/debian/dirs @@ -1,2 +1,3 @@ etc/tinc -etc/tinc/passphrases +etc/tinc/example +etc/tinc/example/passphrases diff --git a/debian/rules b/debian/rules index f52e8910..34fcb9ba 100644 --- a/debian/rules +++ b/debian/rules @@ -33,8 +33,9 @@ install: build dh_installdirs $(MAKE) install prefix=`pwd`/debian/tmp/usr - mkdir -p `pwd`/debian/tmp/etc/tinc - cp doc/tinc.conf.sample `pwd`/debian/tmp/etc/tinc/tinc.conf + mkdir -p `pwd`/debian/tmp/etc/tinc/example + cp doc/tinc.conf.sample `pwd`/debian/tmp/etc/tinc/example/tinc.conf + ln -s /usr/share/doc/tinc/README.Debian `pwd`/debian/tmp/etc/tinc/example/README rm -f `pwd`/debian/tmp/usr/lib/tinc/libblowfish.so -- 2.39.5