summarylogtreecommitdiffstats
path: root/natron-plugins.install
blob: 9b56d221be7d7e3a03306cbe3b8ced2432c58993 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# The scripts below change the file "Shadertoy.txt"
# from the openfx-misc package to the version available
# in natron-plugins.

post_install() {
  cd /usr/OFX/Plugins/Shadertoy.ofx.bundle/Contents/Resources/presets/default
  cp Shadertoy.txt Shadertoy.txt.original
  cp Shadertoy.txt.natron-plugins Shadertoy.txt
}

post_upgrade() {
  cd /usr/OFX/Plugins/Shadertoy.ofx.bundle/Contents/Resources/presets/default
  cp Shadertoy.txt.natron-plugins Shadertoy.txt
}

pre_remove() {
  cd /usr/OFX/Plugins/Shadertoy.ofx.bundle/Contents/Resources/presets/default
  cp Shadertoy.txt.original Shadertoy.txt
}