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

Jan Steffens heftig at archlinux.org
Wed Oct 24 18:30:01 UTC 2012


    Date: Wednesday, October 24, 2012 @ 14:30:01
  Author: heftig
Revision: 169620

Fix icon update, use xdg-utils

Modified:
  deluge/trunk/deluge.install

----------------+
 deluge.install |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: deluge.install
===================================================================
--- deluge.install	2012-10-24 17:52:34 UTC (rev 169619)
+++ deluge.install	2012-10-24 18:30:01 UTC (rev 169620)
@@ -15,7 +15,7 @@
 
 post_upgrade() {
   systemd-tmpfiles --create deluge.conf
-  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
   update-desktop-database -q
 }
 
@@ -23,6 +23,6 @@
   getent passwd deluge &>/dev/null && userdel deluge
   getent group deluge &>/dev/null && groupdel deluge
 
-  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
   update-desktop-database -q
 }




More information about the arch-commits mailing list