summaryrefslogtreecommitdiff
path: root/extra/kdegames/kdegames-kbattleship.install
diff options
context:
space:
mode:
Diffstat (limited to 'extra/kdegames/kdegames-kbattleship.install')
-rw-r--r--extra/kdegames/kdegames-kbattleship.install14
1 files changed, 1 insertions, 13 deletions
diff --git a/extra/kdegames/kdegames-kbattleship.install b/extra/kdegames/kdegames-kbattleship.install
index ac4516ed0..81ce5c4b0 100644
--- a/extra/kdegames/kdegames-kbattleship.install
+++ b/extra/kdegames/kdegames-kbattleship.install
@@ -1,17 +1,6 @@
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
update-desktop-database -q
- ggz-config -i -f -m usr/share/ggz/kbattleship.dsc >& /dev/null
-}
-
-pre_remove() {
- if [ -f usr/share/ggz/kbattleship.dsc ]; then
- ggz-config -r -m usr/share/ggz/kbattleship.dsc >& /dev/null
- fi
-}
-
-pre_upgrade() {
- pre_remove
}
post_upgrade() {
@@ -19,6 +8,5 @@ post_upgrade() {
}
post_remove() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
- update-desktop-database -q
+ post_install
}