[debian-edu-commits] debian-edu/upstream/ 26/26: Add dpkg triggers for /usr/share/applications and /usr/share/applnk and /usr/share/icons to make sure the icon cache stay up to date when new packages are installed.

Petter Reinholdtsen pere at moszumanska.debian.org
Mon Mar 31 07:28:18 UTC 2014


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

pere pushed a commit to branch master
in repository kde-icon-cache.

commit 8557117a6e8143f82edd33b1b853b2ad738ab633
Author: pere <pere at 2f71faf1-f021-45ab-956e-ee25d755e2f5>
Date:   Sat Apr 7 08:40:54 2012 +0000

    Add dpkg triggers for /usr/share/applications and
    /usr/share/applnk and /usr/share/icons to make sure the icon cache
    stay up to date when new packages are installed.
    
    git-svn-id: svn+ssh://svn.slxdrift.no/svnroot/oslo/trunk/src/kde-icon-cache@2500 2f71faf1-f021-45ab-956e-ee25d755e2f5
---
 debian/changelog               | 8 ++++++++
 debian/kde-icon-cache.triggers | 3 +++
 debian/postinst                | 3 +++
 3 files changed, 14 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index d57bfc0..c9cde86 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+kde-icon-cache (0.0.7) UNRELEASED; urgency=low
+
+  * Add dpkg triggers for /usr/share/applications and
+    /usr/share/applnk and /usr/share/icons to make sure the icon cache
+    stay up to date when new packages are installed.
+
+ -- Petter Reinholdtsen <pere at debian.org>  Sat, 07 Apr 2012 10:37:06 +0200
+
 kde-icon-cache (0.0.6) lenny; urgency=low
 
   * Install the blank icon as blank-square.svgz, to get KDE to find it
diff --git a/debian/kde-icon-cache.triggers b/debian/kde-icon-cache.triggers
new file mode 100644
index 0000000..c305044
--- /dev/null
+++ b/debian/kde-icon-cache.triggers
@@ -0,0 +1,3 @@
+interest /usr/share/applications
+interest /usr/share/applnk
+interest /usr/share/icons
diff --git a/debian/postinst b/debian/postinst
index dbe2326..e79ba4e 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -11,6 +11,9 @@ case "$1" in
 	fi
 	update-kde-icon-cache add
 	;;
+     triggered)
+	update-kde-icon-cache add
+	;;
 esac
 
 #DEBHELPER#

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/upstream/kde-icon-cache.git



More information about the debian-edu-commits mailing list