diff options
Diffstat (limited to 'natron-plugins.install')
-rw-r--r-- | natron-plugins.install | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/natron-plugins.install b/natron-plugins.install new file mode 100644 index 000000000000..9b56d221be7d --- /dev/null +++ b/natron-plugins.install @@ -0,0 +1,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 +} |