summarylogtreecommitdiffstats
path: root/etqw.install
blob: 120c3e6891bb439c1dc65fccf2c90b87eeb0891c (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

post_install() {
    echo ">>> You must read and agree to the terms in the EULAs found"
    echo ">>> in /usr/share/licenses/etqw/ before using this software!"
    echo ">>>"
    echo ">>> Copy the following files off your retail DVD:"
    echo ">>>"
    echo ">>>    Setup/Data/base/pak*.pk4       to /opt/etqw/base/"
    echo ">>>    Setup/Data/base/zpak*.pk4      to /opt/etqw/base/"
    echo ">>>    Setup/Data/base/megatextures/* to /opt/etqw/base/megatextures"
    echo ">>>    Setup/Data/base/video/*        to /opt/etqw/base/video"
    echo ">>>"
    echo ">>> Alternatively, you may use the etqw-data PKGBUILD on the AUR"
    echo ">>>"
    echo ">>> When you have the data files installed, start the game:"
    echo ">>>   Client: etqw"
    echo ">>>   Server: etqw-dedicated"
}

post_upgrade() {
    post_install $1
}

pre_remove() {
    /bin/true
}

op=$1
shift

$op $*