updated on Tue Jan 17 16:10:12 UTC 2012
[aur-mirror.git] / fuhquake / fuhquake.install
blobc2ad8720232688e16a41a5325ab0326d4ca458b0
1  
2 post_install() {
3         # Add 'games' Group
4         getent group games > /dev/null || /usr/sbin/groupadd -g 20 games
6         echo ">>> You need the retail pak0.pak and pak1.pak in order to play."
7         echo ">>>   Copy or symlink them to /opt/quake/id/"
8         echo ">>>"
9         echo ">>> You must also add your user to the 'games' group."
10         echo ">>>"
11         echo ">>>       # gpasswd -a USERNAME games"
12         echo ">>>"
13         echo ">>> After configuring your keys and settings, save your config with"
14         echo ">>>   the following command in the console: "
15         echo ">>>"
16         echo ">>>       /cfg_save USERNAME"
17         echo ">>>"
18         echo ">>> Where USERNAME is what 'whoami' returns in a terminal. Everytime "
19         echo ">>>   fuhQuake starts it will attempt to automatically load USERNAME.cfg"
20         echo ">>>"
21         echo ">>> You can play on any QuakeWorld servers with fuhQuake. Use a server"
22         echo ">>>   browser to find games, such as XQF."
25 post_upgrade() {
26         post_install $1
29 pre_remove() {
30         /bin/true
33 op=$1
34 shift
36 $op $*