update-desktop-database after installing for gnome
authorDana Jansens <danakj@orodu.net>
Wed, 30 May 2007 04:09:48 +0000 (04:09 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 30 May 2007 04:09:48 +0000 (04:09 +0000)
Makefile.am
debian/postinst
debian/postrm

index 8ad2e74..522123c 100644 (file)
@@ -106,3 +106,4 @@ EXTRA_DIST = \
 
 install-data-hook:
        update-mime-database $(mimedir) || true
+       update-desktop-database $(desktopdir) || true
index fee8dbd..515ca8e 100644 (file)
@@ -21,6 +21,7 @@ set -e
 case "$1" in
     configure)
         update-mime-database /usr/share/mime
+       update-desktop-database /usr/share/applications
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)
index 422bd0b..95c861b 100644 (file)
@@ -23,6 +23,7 @@ case "$1" in
     ;;
     remove)
         update-mime-database /usr/share/mime
+       update-desktop-database /usr/share/applications
     ;;
     upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
     ;;