diff options
| author | Lex Neva <lexelby@users.noreply.github.com> | 2022-01-10 12:20:15 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-10 18:20:15 +0100 |
| commit | 5cf0519928a99fa976623981991a4b8d1b0b3eb9 (patch) | |
| tree | 426ed91efad90a39acdacacc935f1b8498d8447d /bin/after-install | |
| parent | 5dce5c14e410c595e53869d6d595d88db1dbf474 (diff) | |
add deb and rpm building (#1501)
Diffstat (limited to 'bin/after-install')
| -rwxr-xr-x | bin/after-install | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bin/after-install b/bin/after-install new file mode 100755 index 00000000..10857314 --- /dev/null +++ b/bin/after-install @@ -0,0 +1,11 @@ +#!/bin/sh + +inkscape_dir="$(inkscape --system-data-directory)" + +if [ "$?" != 0 ]; then + echo "ERROR: Cannot find inkscape system data directory. Is inkscape installed and in root's PATH?" + exit 1 +fi + +rm -f "${inkscape_dir}/extensions/inkstitch" +ln -s /opt/inkstitch "${inkscape_dir}/extensions/inkstitch" |
