summarylogtreecommitdiffstats
path: root/tivoli-cloud-vr.install
blob: 89c3ace7d5a7c98dd402fb2fce783dfea1642802 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
post_install() {
    :
#!/bin/bash

# Link to the binary
ln -sf '/opt/Tivoli Cloud VR/tivoli-cloud-vr' '/usr/bin/tivoli-cloud-vr'

# SUID chrome-sandbox for Electron 5+
chmod 4755 '/opt/Tivoli Cloud VR/chrome-sandbox' || true

update-mime-database /usr/share/mime || true
update-desktop-database /usr/share/applications || true

}
post_remove() {
    :
#!/bin/bash

# Delete the link to the binary
rm -f '/usr/bin/tivoli-cloud-vr'

}