diff options
author | root <root@rshg054.dnsready.net> | 2011-11-25 23:14:55 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-11-25 23:14:55 +0000 |
commit | 6a642c093f29814cdd0fdefeee3ab9400eae490f (patch) | |
tree | f2edeb17bda6dbc9e784455f1b38f3fcc7e5b64a /kde-unstable/kdegames/kdegames-ksquares.install | |
parent | 5894dd675f4bd3ba296d262fae99b3b87a0f87fd (diff) |
Fri Nov 25 23:14:55 UTC 2011
Diffstat (limited to 'kde-unstable/kdegames/kdegames-ksquares.install')
-rw-r--r-- | kde-unstable/kdegames/kdegames-ksquares.install | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/kde-unstable/kdegames/kdegames-ksquares.install b/kde-unstable/kdegames/kdegames-ksquares.install new file mode 100644 index 000000000..5a619897d --- /dev/null +++ b/kde-unstable/kdegames/kdegames-ksquares.install @@ -0,0 +1,22 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + ggz-config -i -f -m usr/share/ggz/ksquares.dsc >& /dev/null +} + +pre_remove() { + if [ -f usr/share/ggz/ksquares.dsc ]; then + ggz-config -r -m usr/share/ggz/ksquares.dsc >& /dev/null + fi +} + +pre_upgrade() { + pre_remove +} + +post_upgrade() { + post_install +} + +post_remove() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} |