[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 c44f605dc45efd6ec22059c7ed90437c9783aa05
Author: Franklin <franklin at goodhorse.idv.tw>
Date:   Tue Mar 22 23:52:17 2016 +0800

    Add script files for ezgo-misc-desktop-files package

diff --git a/debian/ezgo-misc-desktop-files.install b/debian/ezgo-misc-desktop-files.install
new file mode 100644
index 0000000..c3dcb06
--- /dev/null
+++ b/debian/ezgo-misc-desktop-files.install
@@ -0,0 +1 @@
+ezgo-misc/*.desktop usr/share/ezgo/desktop-files
diff --git a/debian/ezgo-misc-desktop-files.postinst b/debian/ezgo-misc-desktop-files.postinst
new file mode 100644
index 0000000..1f5c8f6
--- /dev/null
+++ b/debian/ezgo-misc-desktop-files.postinst
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+
+# link desktop files for ezgo
+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
+ln -sf /usr/share/ezgo/desktop-files/about_ezgo.desktop /usr/share/applications/about_ezgo.desktop
+
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/ezgo-misc-desktop-files.prerm b/debian/ezgo-misc-desktop-files.prerm
new file mode 100644
index 0000000..a132248
--- /dev/null
+++ b/debian/ezgo-misc-desktop-files.prerm
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+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/share/applications/about_ezgo.desktop
+
+#DEBHELPER#
+
+exit 0

-- 
Blend for educatipn with asian specific adaptations



More information about the Blends-commit mailing list