blob: ceab6198187be916238d9b81b9f1e352ff9d50b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
post_install() {
chown root:root -R /opt/gama-platform
chmod a+rw -R /opt/gama-platform/Gama.ini
chmod a+x -R /opt/gama-platform/Gama
chmod a+x -R /opt/gama-platform/headless/gama-headless.sh
# Add gama-headless.sh shortcut in PATH
ln -s /opt/gama-platform/headless/gama-headless.sh /usr/bin/gama-headless
}
post_upgrade() {
post_install
}
post_remove() {
rm /usr/bin/gama-headless
rm -fr /opt/gama-platform
}
|