File: gimp_plugin_postinstall

package info (click to toggle)
exult 1.12.1-1
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid
  • size: 43,856 kB
  • sloc: cpp: 170,016; xml: 7,400; yacc: 2,850; makefile: 2,419; java: 1,901; ansic: 1,654; lex: 673; sh: 550; objc: 416
file content (9 lines) | stat: -rwxr-xr-x 468 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#!/bin/zsh
# This script works around the PKG issue that you can only install
# into absolute paths. 
# For creating the PKG it needs to be renamed to postinstall and
# it needs to be executable (chmod +x).
# The PKG installer saves the plugin to /tmp/u7shp and this script
# copies it to where the GIMP 3.0 can find it.
mkdir -p $HOME/Library/Application\ Support/GIMP/3.0/plug-ins/u7shp
cp -pf /tmp/u7shp/* $HOME/Library/Application\ Support/GIMP/3.0/plug-ins/u7shp