summarylogtreecommitdiffstats
path: root/quake3.install
blob: 4fbc954ab764e33db134f9d97dfed96bd08aa6f7 (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
 
post_install() {
    echo ">>>"
    echo ">>>>To play Q3 with the Retail Version:"
    echo ">>>   Move the pak0.pk3 file from the original game CD to"
    echo ">>>      /opt/quake3/baseq3/"
    echo ">>>"
    echo ">>>>To play Q3 with the Demo Version:"
    echo ">>>   You need the demoq3/pak0.pk3 from the demo installer. The"
    echo ">>>   qvm files inside that pk3 file will not work, so you have"
    echo ">>>   to copy or link the .so files in the baseq3/ directory to"
    echo ">>>   /opt/quake3/demoq3/ with the pak0.pk3 file."
    echo ">>>"
    echo ">>>>When you have the .pk3 file(s) installed, run the game:"
    echo ">>>      quake3"
    echo ">>>"
}

post_upgrade() {
    post_install $1
}

pre_remove() {
    /bin/true
}

op=$1
shift

$op $*