1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh
#
# The heroes postinst has to do some update-alternatives magic.
# SDL is set higher-priority than GGI by default because it works better on
# average.
if [ "$1" = configure ]; then
update-alternatives --install /usr/games/heroes heroes /usr/games/heroes-ggi 50
# dpkg doesn't like to replace a directory with a symlink
if [ -d /usr/share/doc/heroes-ggi ]; then
rm -fr /usr/share/doc/heroes-ggi
ln -s heroes-common /usr/share/doc/heroes-ggi
fi
fi
#DEBHELPER#
|