Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > media > contrib > by-pkgid > ba72b04246ef36190bb8d371bb229090 > scriptlet

ggz-kde-games-0.0.9-1mdk.i586.rpm

PREUN

/bin/sh
# Run ggz-config to uninstall all the games
if [ "$1" = "0" ]; then
  if [ -f /etc/ggz.modules ]; then
    for i in fyrdman kcc kdots keepalive koenig KReversi krosswater ktictactux muehle; do
      ggz-config --remove --modfile=/usr/share/ggz/ggz-config/kde-$i.dsc
    done
  fi
fi

POSTIN

/bin/sh
# Run ggz-config vs. all installed games
if [ -f /etc/ggz.modules ]; then
  for i in fyrdman kcc kdots keepalive koenig KReversi krosswater ktictactux muehle; do
    ggz-config --install --modfile=/usr/share/ggz/ggz-config/kde-$i.dsc --force
  done
fi