blob: 0bba874370ccf216db6207c73f27918a3f18064b (
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
|
pre_install() {
## Thx to messo8080 for reminding us about the /tmp dir,
## on new installs this dir is in ram by default.
if `pwd | grep -q "/tmp"`; then
echo \
"You are trying to build this pkg in /tmp dir.
This is not so good idea as /tmp dir is in RAM
by default. Proceed if you know that you have lots of
ram (>8G) and swap and want to continue building in
the current directory. (Note that you might
consider changing the temporary directory, e.g.
using --tmp for yaourt.)"
fi
}
post_install() {
echo ">>> You must read and agree to the terms in the EULAs found"
echo ">>> in /usr/share/licenses/hon/ before using this software!"
echo ">>>"
echo ">>> In order to play Heroes of Newerth, add your user to the 'games' group."
echo ">>> # gpasswd -a USERNAME games"
echo ">>> Remember to logout and log back in for the changes to take effect."
echo ">>> Nvidia user might need to do the following."
echo -e ">>> Append the following 3 lines to \"~/.Heroes of Newerth/game/startup.cfg\""
echo -e "SetSave \"vid_bpp\" \"32\""
echo -e "SetSave \"vid_refreshRate\" \"60\""
echo -e "SetSave \"vid_resolution\" \"1280,1024\""
}
post_upgrade() {
post_install $1
}
|