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

Pierre Schmitz pierre at archlinux.org
Fri Jun 12 03:07:09 EDT 2009


    Date: Friday, June 12, 2009 @ 03:07:08
  Author: pierre
Revision: 42266

remove unneeded commands

Modified:
  kdegames/kde-unstable/kdegames.install

------------------+
 kdegames.install |   17 +----------------
 1 file changed, 1 insertion(+), 16 deletions(-)

Modified: kdegames.install
===================================================================
--- kdegames.install	2009-06-11 23:15:38 UTC (rev 42265)
+++ kdegames.install	2009-06-12 07:07:08 UTC (rev 42266)
@@ -1,26 +1,11 @@
 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
 }
 
-pre_remove() {
-	if [ -f usr/share/ggz/kreversi.dsc ]; then
-		ggz-config -r -m usr/share/ggz/kreversi.dsc >& /dev/null
-		ggz-config -r -m usr/share/ggz/ksquares.dsc >& /dev/null
-		ggz-config -r -m usr/share/ggz/kbattleship.dsc >& /dev/null
-	fi
-}
-
-pre_upgrade() {
-	pre_remove
-}
-
 post_upgrade() {
 	post_install
 }
 
 post_remove() {
-	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+	post_install
 }



More information about the arch-commits mailing list