blob: 75ca072be23229dbc3ae5a11434e1e8177cdbdfd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
pre_install() {
getent group games > /dev/null || /usr/sbin/groupadd -g 50 games
}
post_install() {
echo "You must read and accept the Daggerfall terms of use"
echo " /usr/share/licenses/daggerfall/license"
echo ""
echo "To accept license run daggerfall from command line"
echo "and answer \"yes\" when asked, or issue command"
echo " daggerfall --accept-terms"
echo ""
echo "You should tweak dosbox settings to match your needs"
echo " /usr/share/games/daggerfall/dagger.conf"
echo ""
echo "To play, make sure you are in games group and use command"
echo " daggerfall"
echo ""
echo "To grab/ungrab mouse in window mode press CTRL+F10"
echo "To switch fullscreen press ALT+ENTER"
echo ""
echo "To see more commands, use"
echo " daggerfall --help"
chgrp -R games /usr/share/games/daggerfall
chmod -R g+rw /usr/share/games/daggerfall
chgrp games /usr/bin/daggerfall
chmod g+rx /usr/bin/daggerfall
/bin/true
}
post_upgrade() {
post_install
}
|