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

Franklin franklin at goodhorse.idv.tw
Thu Dec 11 02:10:09 UTC 2014


The following commit has been merged in the master branch:
commit d82f3f0c2be2cb3de8bcf33664214716df9f6e4c
Author: Franklin <franklin at goodhorse.idv.tw>
Date:   Sat Dec 6 10:38:30 2014 +0800

    ezgo-misc package install and config scripts

diff --git a/debian/ezgo-misc.install b/debian/ezgo-misc.install
index f3935fa..9af14ff 100644
--- a/debian/ezgo-misc.install
+++ b/debian/ezgo-misc.install
@@ -1,3 +1,5 @@
-ezgo-misc/my_computer.desktop usr/share/ezgo/desktop-files
-ezgo-misc/my_ezgo.desktop usr/share/ezgo/desktop-files
+ezgo-misc/*.desktop usr/share/ezgo/desktop-files
 ezgo-misc/mimeapps.list etc/skel/.local/share/applications
+ezgo-misc/media_pak_install/* usr/share/ezgo/media_pak_install
+ezgo-misc/update-ezgo-misc usr/share/ezgo/ezgo-misc
+ezgo-misc/7zip.tar.gz usr/share/ezgo/ezgo-misc
diff --git a/ezgo-misc/update-ezgo-misc b/ezgo-misc/update-ezgo-misc
new file mode 100755
index 0000000..6f65c7a
--- /dev/null
+++ b/ezgo-misc/update-ezgo-misc
@@ -0,0 +1,25 @@
+#! /bin/sh
+set -e
+
+case "$1" in
+  configure)
+    ln -sf /usr/share/ezgo/desktop-files/7zip.desktop /usr/share/applications/7zip.desktop
+    ln -sf /usr/share/ezgo/desktop-files/impressive-editor.desktop /usr/share/applications/impressive-editor.desktop
+    ln -sf /usr/share/ezgo/desktop-files/media_install.desktop /usr/share/applications/media_install.desktop
+    ln -sf /usr/share/ezgo/desktop-files/media_install_force.desktop /usr/share/applications/media_install_force.desktop
+    ln -sf /usr/share/ezgo/desktop-files/my_computer.desktop /usr/share/applications/my_computer.desktop
+    ln -sf /usr/share/ezgo/desktop-files/my_ezgo.desktop /usr/share/applications/my_ezgo.desktop
+    cd /usr/share/ezgo/ezgo-misc
+    tar xf 7zip.tar.gz
+    mv /usr/share/ezgo/ezgo-misc/7-Zip /usr/local/
+    ;;
+  remove)
+	rm -f /usr/share/applications/7zip.desktop
+	rm -f /usr/share/applications/impressive-editor.desktop
+	rm -f /usr/share/applications/media_install.desktop
+	rm -f /usr/share/applications/media_install_force.desktop
+	rm -f /usr/share/applications/my_computer.desktop
+	rm -f /usr/share/applications/my_ezgo.desktop
+    rm -f /usr/local/7-Zip
+    ;;
+esac

-- 
Blend for educatipn with asian specific adaptations



More information about the Blends-commit mailing list