[arch-commits] Commit in mldonkey/trunk (mldonkey.install)

Anatol Pomozov anatolik at archlinux.org
Tue Jun 7 01:58:37 UTC 2016


    Date: Tuesday, June 7, 2016 @ 03:58:37
  Author: anatolik
Revision: 178071

update-desktop-database has been moved to hooks

Modified:
  mldonkey/trunk/mldonkey.install

------------------+
 mldonkey.install |   10 ----------
 1 file changed, 10 deletions(-)

Modified: mldonkey.install
===================================================================
--- mldonkey.install	2016-06-06 22:20:38 UTC (rev 178070)
+++ mldonkey.install	2016-06-07 01:58:37 UTC (rev 178071)
@@ -9,10 +9,6 @@
   mkdir -p /var/lib/mldonkey
   chown mldonkey:mldonkey /var/lib/mldonkey
 
-  if type -P update-desktop-database &> /dev/null; then
-    update-desktop-database -q
-  fi
-
   if type -P systemd-tmpfiles &> /dev/null; then
     systemd-tmpfiles --create mldonkey.conf
   fi
@@ -21,9 +17,3 @@
 post_upgrade() {
   post_install $1
 }
-
-post_remove() {
-  if type -P update-desktop-database &> /dev/null; then
-    update-desktop-database -q
-  fi
-}



More information about the arch-commits mailing list