PREUN
/bin/sh
# Run ggz-config to uninstall all the games
if [ "$1" = "0" ]; then
if [ -f /etc/ggz.modules ]; then
for i in chess chinese-checkers combat dots ggzcards hastings reversi spades tictactoe; do
ggz-config --remove --modfile=/usr/share/ggz/ggz-config/gtk-$i.dsc
done
fi
fi
POSTIN
/bin/sh
# Run ggz-config vs. all installed games
if [ -f /etc/ggz.modules ]; then
for i in chess chinese-checkers combat dots ggzcards hastings reversi spades tictactoe; do
ggz-config --install --modfile=/usr/share/ggz/ggz-config/gtk-$i.dsc --force
done
fi