[Python-modules-commits] r29044 - in packages/ipython/trunk/debian (rules)

jtaylor-guest at users.alioth.debian.org jtaylor-guest at users.alioth.debian.org
Sat May 24 10:59:26 UTC 2014


    Date: Saturday, May 24, 2014 @ 10:59:25
  Author: jtaylor-guest
Revision: 29044

adapt to new font-awesome path in unstable

Modified:
  packages/ipython/trunk/debian/rules

Modified: packages/ipython/trunk/debian/rules
===================================================================
--- packages/ipython/trunk/debian/rules	2014-05-24 09:39:37 UTC (rev 29043)
+++ packages/ipython/trunk/debian/rules	2014-05-24 10:59:25 UTC (rev 29044)
@@ -84,7 +84,14 @@
 
 	rm -rf $(NB)/components/marked/
 
-	dh_linktree -pipython-notebook-common replace usr/share/fonts-font-awesome/font usr/share/ipython/notebook/static/components/font-awesome/font
+	# font awesome changed location at some point
+	if test -e /usr/share/fonts-font-awesome/fonts; then \
+	  dh_linktree -pipython-notebook-common replace usr/share/fonts-font-awesome/fonts \
+	    usr/share/ipython/notebook/static/components/font-awesome/font; \
+	else \
+	  dh_linktree -pipython-notebook-common replace usr/share/fonts-font-awesome/font \
+	    usr/share/ipython/notebook/static/components/font-awesome/font; \
+	fi
 
 	dh_linktree -pipython-notebook-common replace usr/share/javascript/jquery-ui usr/share/ipython/notebook/static/components/jquery-ui
 	install -D IPython/html/static/components/jquery-ui/ui/jquery-ui.js $(NB)/components/jquery-ui/ui/minified/jquery-ui.min.js




More information about the Python-modules-commits mailing list