summarylogtreecommitdiffstats
path: root/nomachine.install
blob: be71f1b98880e1ca76348f40ab220e7f62697ad1 (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
post_install()
{
    echo "Running NX post_install script..."
    /usr/NX/nxserver --install fedora
}

pre_remove()
{
    echo "Running NX pre_remove script..."
    /usr/NX/scripts/setup/nxserver --uninstall fedora
}

post_remove()
{
    echo "Removing /usr/NX..."
    rm -rf /usr/NX
}

pre_upgrade() {
    pre_remove
}

post_upgrade() {
    post_install
}