Use /etc/tinc/example as a base directory for an example. /etc/tinc/example/README points to /usr/share/doc/tinc/README.Debian.
This commit is contained in:
parent
63847abdfd
commit
b9a86ec70e
3 changed files with 6 additions and 4 deletions
2
debian/conffiles
vendored
2
debian/conffiles
vendored
|
@ -1,2 +1,2 @@
|
|||
/etc/tinc/tinc.conf
|
||||
/etc/tinc/example/tinc.conf
|
||||
/etc/init.d/tinc
|
||||
|
|
3
debian/dirs
vendored
3
debian/dirs
vendored
|
@ -1,2 +1,3 @@
|
|||
etc/tinc
|
||||
etc/tinc/passphrases
|
||||
etc/tinc/example
|
||||
etc/tinc/example/passphrases
|
||||
|
|
5
debian/rules
vendored
5
debian/rules
vendored
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue