[SCM] KDE Localization module packaging branch, master, updated. debian/4%16.04.3-3-3-gee35519

Pino Toscano pino at moszumanska.debian.org
Mon Nov 20 06:53:00 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-sc/kde-l10n.git;a=commitdiff;h=ee35519

The following commit has been merged in the master branch:
commit ee35519d55772801c860d995df49320ee14b0561
Author: Pino Toscano <pino at debian.org>
Date:   Mon Nov 20 07:51:52 2017 +0100

    fix doc removal (#882191)
    
    this also covers languages with country code (eg pt_BR) or encoding
    (eg ca at valencia)
---
 debian/changelog | 1 +
 debian/rules     | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index fcb52d9..f2af7dd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ kde-l10n (4:16.04.3-4) UNRELEASED; urgency=medium
       kwinstartmenu.mo, and strigila_diff.mo
   * Drop obsolete documentations, no more useful:
     - kcontrol/nepomuk, kdm, and ksnapshot
+  * Fix removal of documentation (Closes: #882191)
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Sun, 19 Nov 2017 18:04:10 +0100
 
diff --git a/debian/rules b/debian/rules
index 4cc0a92..042b4eb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -92,8 +92,8 @@ $(L10N_INSTALL): | prepare_install
 	    find $(CURDIR)/debian/$(cur_pkg) -name $${excluded_file} -delete ; \
 	done
 	sed -e '/^$$/d;/^#/d' $(CURDIR)/debian/excluded_docs.list | while read excluded_doc; do \
-	    rm -rf $(CURDIR)/debian/$(cur_pkg)/usr/share/doc/HTML/$(cur_lang)/$${excluded_doc} ; \
-	    rm -rf $(CURDIR)/debian/$(cur_pkg)/usr/share/doc/kde/HTML/$(cur_lang)/$${excluded_doc} ; \
+	    rm -rf $(CURDIR)/debian/$(cur_pkg)/usr/share/doc/HTML/*/$${excluded_doc} ; \
+	    rm -rf $(CURDIR)/debian/$(cur_pkg)/usr/share/doc/kde/HTML/*/$${excluded_doc} ; \
 	done
 	# Drop *_mimetypes.mo translations, since they are only helper for
 	# translating XML files

-- 
KDE Localization module packaging



More information about the pkg-kde-commits mailing list