[debian-edu-commits] debian-edu/pkg-team/ 06/25: lintian: Silence several "package-contains-empty-directory" lintian warnings, some empty directories have been dropped, some have been filled with .placeholder files.

Mike Gabriel sunweaver at debian.org
Tue Aug 12 16:44:39 UTC 2014


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

sunweaver pushed a commit to branch master
in repository gosa.

commit 0fea41ca6c90b1f787eaf39d28f699a9796936e4
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Mon Aug 11 18:03:38 2014 +0200

    lintian: Silence several "package-contains-empty-directory" lintian warnings, some empty directories have been dropped, some have been filled with .placeholder files.
---
 debian/gosa-plugin-rsyslog.install | 1 -
 debian/gosa.dirs                   | 1 -
 debian/rules                       | 7 +++++++
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/debian/gosa-plugin-rsyslog.install b/debian/gosa-plugin-rsyslog.install
index 58c933d..0be83c8 100644
--- a/debian/gosa-plugin-rsyslog.install
+++ b/debian/gosa-plugin-rsyslog.install
@@ -1,5 +1,4 @@
 rsyslog/admin		/usr/share/gosa/plugins
 rsyslog/addons		/usr/share/gosa/plugins
 rsyslog/locale		/usr/share/gosa/locale/plugins/rsyslog
-rsyslog/contrib		/usr/share/doc/gosa-plugin-rsyslog
 rsyslog/html/images	/usr/share/gosa/html/plugins/rsyslog
diff --git a/debian/gosa.dirs b/debian/gosa.dirs
index fc29e29..ced9cfd 100644
--- a/debian/gosa.dirs
+++ b/debian/gosa.dirs
@@ -1,6 +1,5 @@
 etc/gosa
 usr/sbin
 usr/share/gosa
-usr/share/gosa/bin
 var/spool/gosa
 var/cache/gosa
diff --git a/debian/rules b/debian/rules
index fd25fc2..a84b5b8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,6 +16,13 @@ override_dh_compress:
 
 override_dh_install:
 	dh_install --exclude=*ttf
+	# silence several lintian warnings (package-contains-empty-directory).
+	touch debian/gosa/usr/share/gosa/html/plugins/references/.placeholder
+	test -f debian/gosa/usr/share/gosa/locale/core/en/LC_MESSAGES/messages.po || \
+	    touch debian/gosa/usr/share/gosa/locale/core/en/LC_MESSAGES/.placeholder
+	find debian/gosa-plugin-*/usr/share/gosa/locale/plugins/*/locale/*/LC_MESSAGES/ -type d | while read dir; do \
+	    test -f $$dir/messages.po || touch $$dir/.placeholder; \
+	done
 	mkdir -p debian/gosa/usr/share/gosa/html/themes/default/fonts
 	ln -sf /usr/share/fonts/truetype/liberation/LiberationSerif-Italic.ttf debian/gosa/usr/share/gosa/html/themes/default/fonts
 	ln -sf /usr/share/fonts/truetype/liberation/LiberationMono-Regular.ttf debian/gosa/usr/share/gosa/html/themes/default/fonts

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/gosa.git



More information about the debian-edu-commits mailing list