]> git.meshlink.io Git - meshlink/commitdiff
Unpack sample-config.tar.gz when installing
authorIvo Timmermans <ivo@lychnis.net>
Thu, 18 Jan 2001 13:02:34 +0000 (13:02 +0000)
committerIvo Timmermans <ivo@lychnis.net>
Thu, 18 Jan 2001 13:02:34 +0000 (13:02 +0000)
debian/rules

index 568c809ecae1909a3a846e71264371d74d4e8199..c07a054033f512459e67e653a4965bab400804a8 100644 (file)
@@ -43,7 +43,8 @@ install: build
 
        $(MAKE) install DESTDIR=`pwd`/debian/tmp
        mkdir -p `pwd`/debian/tmp/etc/tinc
-       cp -a doc/sample-config `pwd`/debian/tmp/etc/tinc/example
+       cp -a doc/sample-config.tar.gz `pwd`/debian/tmp/etc/tinc/example
+       cd `pwd`/debian/tmp/etc/tinc/example && tar xzf sample-config.tar.gz && rm sample-config.tar.gz
        ln -s /usr/share/doc/tinc/README.Debian `pwd`/debian/tmp/etc/tinc/example/README