[Pkg-sugar-commit] [sugar-toolkit-gtk3] 06/07: Fix rename locale aym→ay: ISO 639-1 favored over ISO 639-2.

Jonas Smedegaard dr at jones.dk
Thu Jul 2 22:58:22 UTC 2015


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

js pushed a commit to branch master-0.104
in repository sugar-toolkit-gtk3.

commit c83de60287132483e1734642e60b9c30b6716e87
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Thu Jul 2 15:40:44 2015 -0500

    Fix rename locale aym→ay: ISO 639-1 favored over ISO 639-2.
---
 debian/rules | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/debian/rules b/debian/rules
index c41a32b..fbc033c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -151,3 +151,8 @@ binary-fixup/$(pkg-python)::
 	egrep -r -l -Z '^#! ?/usr/bin/(env )?python[[:print:]]*$$' \
 		debian/$(cdbs_curpkg)/usr/bin/* \
 		| xargs -r -0 perl -pi -e 's,^#! ?/usr/bin/(env )?python[[:print:]]*$$,#!/usr/bin/$(strip $(or $(cdbs_curpythonruntime),$(cdbs_python_binary))),'
+
+# Fix favor ISO 639-1 when differing from ISO 639-2
+binary-post-install/$(pkg-data)::
+	mv debian/$(cdbs_curpkg)/usr/share/locale/aym \
+		debian/$(cdbs_curpkg)/usr/share/locale/ay

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sugar/sugar-toolkit-gtk3.git



More information about the pkg-sugar-commit mailing list