From: Ivo Timmermans Date: Sun, 21 May 2000 22:40:41 +0000 (+0000) Subject: Use /etc/tinc/example as a base directory for an example. /etc/tinc/example/README... X-Git-Tag: import-tinc-1.1~882 X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=b9a86ec70ed4ffe5009c4979454f0d99c8559b45;p=meshlink Use /etc/tinc/example as a base directory for an example. /etc/tinc/example/README points to /usr/share/doc/tinc/README.Debian. --- 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