[Blends-commit] [SCM] ezgo branch, master, updated. ba02fd79a4f45ed1f34684b0657d548cc5b77d59

Franklin franklin at goodhorse.idv.tw
Tue Mar 22 15:54:24 UTC 2016


The following commit has been merged in the master branch:
commit c4df05a97b7d99817c41bec94001807305158a94
Author: Franklin <franklin at goodhorse.idv.tw>
Date:   Tue Mar 22 23:51:49 2016 +0800

    Add scripts for ezgo-misc-audacity package

diff --git a/debian/ezgo-misc-audacity.postinst b/debian/ezgo-misc-audacity.postinst
new file mode 100644
index 0000000..9ab61b1
--- /dev/null
+++ b/debian/ezgo-misc-audacity.postinst
@@ -0,0 +1,10 @@
+#!/bin/sh -e
+
+# fix audacity.mo path from zh to zh_CN
+if [ -e /usr/share/locale/zh/LC_MESSAGES/audacity.mo ]; then
+    mv /usr/share/locale/zh/LC_MESSAGES/audacity.mo /usr/share/locale/zh_CN/LC_MESSAGES/audacity.mo
+fi
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/ezgo-misc-audacity.prerm b/debian/ezgo-misc-audacity.prerm
new file mode 100644
index 0000000..7f27917
--- /dev/null
+++ b/debian/ezgo-misc-audacity.prerm
@@ -0,0 +1,10 @@
+#!/bin/sh -e
+
+# remove audacity
+if [ -e /usr/share/locale/zh_CN/LC_MESSAGES/audacity.mo ]; then
+    mv /usr/share/locale/zh_CN/LC_MESSAGES/audacity.mo /usr/share/locale/zh/LC_MESSAGES/audacity.mo
+fi
+
+#DEBHELPER#
+
+exit 0

-- 
Blend for educatipn with asian specific adaptations



More information about the Blends-commit mailing list