blob: e8bfa88fe72b05f4791daee53ce368b943cdddfc (
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
|
post_install() {
echo ">>> If you use software mixing on your sound card, uncomment the"
echo ">>> first export statement in /usr/bin/nwn to make that work"
echo ">>>"
echo ">>> Some of the additional modules create .ini files the first time"
echo ">>> they start. You may have to restart nwn a few times for it"
echo ">>> load successfully. This is normal. Run 'nwn' from a terminal the"
echo ">>> first few times until the game starts running correctly."
echo ">>>"
echo ">>> If something throws an error saying it cannot create the .ini file, "
echo ">>> try modifying the export LD_PRELOAD line in /usr/bin/nwn to"
echo ">>> include just one additional library at a time. For example:"
echo ">>>"
echo ">>> export LD_PRELOAD=./nwuser.so (start nwn)"
echo ">>> export LD_PRELOAD=./nwuser.so:./nwmouse.so (start nwn)"
echo ">>> export LD_PRELOAD=./nwuser.so:./nwmouse.so:./nwmovies.so (start nwn)"
echo ">>> ... etc"
echo ">>>"
echo ">>> Now when you start NWN again, all the extra modules should load successfully."
}
post_upgrade() {
post_install $1
}
pre_remove() {
/bin/true
}
op=$1
shift
$op $*
|