[SCM] supercollider/master: Install prettify symlink during build, not installatino time

fsateler at users.alioth.debian.org fsateler at users.alioth.debian.org
Sat Oct 4 17:25:18 UTC 2014


The following commit has been merged in the master branch:
commit bd8c5d97612867e74d18ba82e05de8894e39c7f7
Author: Felipe Sateler <fsateler at debian.org>
Date:   Sat Oct 4 11:25:12 2014 -0300

    Install prettify symlink during build, not installatino time

diff --git a/debian/rules b/debian/rules
index bf63886..0903cfc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -64,6 +64,9 @@ binary-fixup/supercollider-common::
 install/supercollider-common::
 	install -m 644 debian/README.extensions \
 		$(DEB_DH_INSTALL_SOURCEDIR)/usr/share/SuperCollider/Extensions/README
+# 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 $(DEB_DH_INSTALL_SOURCEDIR)/usr/share/SuperCollider/HelpSource/prettify.js
 
 install/supercollider-emacs::
 	install -d $(DEB_DH_INSTALL_SOURCEDIR)/usr/share/applications
diff --git a/debian/supercollider-common.postinst b/debian/supercollider-common.postinst
deleted file mode 100644
index d6c94ac..0000000
--- a/debian/supercollider-common.postinst
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/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
deleted file mode 100644
index 147c0ee..0000000
--- a/debian/supercollider-common.postrm
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-rm -f /usr/share/SuperCollider/HelpSource/prettify.js
-
-#DEBHELPER#
-

-- 
supercollider packaging



More information about the pkg-multimedia-commits mailing list