[Pkg-voip-commits] [janus] 05/37: Fix rename configfiles before install. Build-depend on rename.

Jonas Smedegaard dr at jones.dk
Mon Mar 13 19:14:31 UTC 2017


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository janus.

commit 46dee82c63a0f8a2aef45e5603159c43f1077948
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Mon Feb 6 16:04:51 2017 +0100

    Fix rename configfiles before install. Build-depend on rename.
---
 debian/control | 1 +
 debian/rules   | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/debian/control b/debian/control
index 4ddd940..1f05f04 100644
--- a/debian/control
+++ b/debian/control
@@ -26,6 +26,7 @@ Build-Depends:
  libssl-dev,
  libwebsockets-dev (>> 1.3),
  pkg-config,
+ rename,
 Standards-Version: 3.9.8
 Homepage: http://janus.conf.meetecho.com
 
diff --git a/debian/rules b/debian/rules
index 21bca3d..f332ee6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,3 +9,7 @@ include /usr/share/dpkg/buildflags.mk
 
 %:
 	dh $@  --with autoreconf --with systemd
+
+override_dh_install:
+	rename 's/\.sample$$//' debian/tmp/etc/janus/*.sample
+	dh_install -a

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/janus.git



More information about the Pkg-voip-commits mailing list