From 2fd78cfab704c5b2cc8bf5db1e18e0fdee8a9ab1 Mon Sep 17 00:00:00 2001 From: AngelCarpintero Date: Tue, 14 Nov 2006 19:08:23 +0000 Subject: [PATCH] Add to motion package the installation of init.d script --- debian/motion.dirs | 1 + debian/rules | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/motion.dirs b/debian/motion.dirs index 7d8d4572..3dbd7350 100644 --- a/debian/motion.dirs +++ b/debian/motion.dirs @@ -1,3 +1,4 @@ usr/bin usr/share/man/man1 etc/motion +etc/init.d diff --git a/debian/rules b/debian/rules index d23f2e95..f64b0755 100755 --- a/debian/rules +++ b/debian/rules @@ -85,8 +85,9 @@ install: build $(MAKE) install DESTDIR=$(CURDIR)/debian/motion # Offer a minimal default config file. cp debian/motion.conf debian/motion/etc/motion + cp motion.init-Debian debian/motion/etc/init.d/motion # Remove unwanted/misplaced files. - rm -rf $(CURDIR)/debian/motion/usr/share/doc/motion-3.2.7 + rm -rf $(CURDIR)/debian/motion/usr/share/doc/motion-3.2.8 rm -f $(CURDIR)/debian/motion/etc/motion/motion-dist.conf