[SCM] supercollider/master: js-prettify via manual softlink
danstowell-guest at users.alioth.debian.org
danstowell-guest at users.alioth.debian.org
Sat Oct 4 09:55:28 UTC 2014
The following commit has been merged in the master branch:
commit 90c4fb613cf9e55f3eccea7895473a8bdbca66dc
Author: Dan Stowell <danstowell at users.sourceforge.net>
Date: Fri Oct 3 10:44:13 2014 +0100
js-prettify via manual softlink
manual softlink rather than dh_link to be absolute since sc copies it around
diff --git a/debian/supercollider-common.links b/debian/supercollider-common.links
index 2f932e5..abe91ec 100644
--- a/debian/supercollider-common.links
+++ b/debian/supercollider-common.links
@@ -1,2 +1 @@
usr/share/javascript/mathjax usr/share/SuperCollider/HelpSource/MathJax
-usr/share/javascript/prettify/prettify.js usr/share/SuperCollider/HelpSource/prettify.js
diff --git a/debian/supercollider-common.postinst b/debian/supercollider-common.postinst
new file mode 100644
index 0000000..d6c94ac
--- /dev/null
+++ b/debian/supercollider-common.postinst
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# this needs to be an absolute not relative softlink, because supercollider copies it around. hence not using dh_link for this.
+ln -sf /usr/share/javascript/prettify/prettify.js /usr/share/SuperCollider/HelpSource/prettify.js
+
+#DEBHELPER#
+
diff --git a/debian/supercollider-common.postrm b/debian/supercollider-common.postrm
new file mode 100644
index 0000000..147c0ee
--- /dev/null
+++ b/debian/supercollider-common.postrm
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+rm -f /usr/share/SuperCollider/HelpSource/prettify.js
+
+#DEBHELPER#
+
--
supercollider packaging
More information about the pkg-multimedia-commits
mailing list