From 5cf0519928a99fa976623981991a4b8d1b0b3eb9 Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Mon, 10 Jan 2022 12:20:15 -0500 Subject: add deb and rpm building (#1501) --- bin/after-install | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 bin/after-install (limited to 'bin/after-install') 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" -- cgit v1.2.3