#!/usr/bin/make -f

%:
	dh $@

# The upstream bin/rtlcss.js carries a shebang, but dh_fixperms normalises
# everything installed under /usr/share to mode 0644, which would leave the
# /usr/bin/rtlcss symlink pointing at a file that cannot be executed.
override_dh_fixperms:
	dh_fixperms
	chmod +x debian/node-rtlcss/usr/share/nodejs/rtlcss/bin/rtlcss.js
