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

Pierre Schmitz pierre at archlinux.org
Sun Sep 14 08:21:18 UTC 2008


    Date: Sunday, September 14, 2008 @ 04:21:16
  Author: pierre
Revision: 12375

update icon-db on install

Modified:
  kdegames/trunk/kdegames.install

------------------+
 kdegames.install |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Modified: kdegames.install
===================================================================
--- kdegames.install	2008-09-14 08:18:56 UTC (rev 12374)
+++ kdegames.install	2008-09-14 08:21:16 UTC (rev 12375)
@@ -1,4 +1,5 @@
 post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
 	ggz-config -i -f -m usr/share/ggz/kreversi.dsc >& /dev/null
 	ggz-config -i -f -m usr/share/ggz/ksquares.dsc >& /dev/null
 	ggz-config -i -f -m usr/share/ggz/kbattleship.dsc >& /dev/null
@@ -13,9 +14,13 @@
 }
 
 pre_upgrade() {
-	pre_remove $1
+	pre_remove
 }
 
 post_upgrade() {
-	post_install $1
-}
\ No newline at end of file
+	post_install
+}
+
+post_remove() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}




More information about the arch-commits mailing list