summarylogtreecommitdiffstats
path: root/nomachine.install
blob: 6fe4148e88e67cdea84af0ca1bb9451c877e386e (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
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
}

post_upgrade()
{
    echo "Running NX update script..."
    /usr/NX/nxserver --update fedora
}