summarylogtreecommitdiffstats
path: root/unrealtournament-bonuspack1.install
blob: 7374e943b123e8444679bfb72ae8ce29e85ba3b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pre_install() {
    # backup original files
    mv /opt/ut/System/epiccustommodels.u{,.backup}
    mv /opt/ut/System/multimesh.u{,.backup}
    mv /opt/ut/System/relics.u{,.backup}
}

post_remove() {
    # restore original files
    mv /opt/ut/System/epiccustommodels.u{.backup,}
    mv /opt/ut/System/multimesh.u{.backup,}
    mv /opt/ut/System/relics.u{.backup,}
}