MOZ_VERSION=$$(dpkg-query -W --showformat='$${version}' mozilla-browser | sed 's/+b[0-9]*$$//') \
&& echo "mozilla:Depends=mozilla-browser (>= $$MOZ_VERSION), mozilla-browser (<< $$MOZ_VERSION.0)" >> debian/videolink.substvars
mkdir -p -m755 debian/videolink/usr/share/doc/videolink
- cp COPYING debian/videolink/usr/share/doc/videolink/copyright
+ install -m644 COPYING debian/videolink/usr/share/doc/videolink/copyright
mkdir -p -m755 debian/videolink/usr/share/man/man1
- cp videolink.1 debian/videolink/usr/share/man/man1/
+ install -m644 videolink.1 debian/videolink/usr/share/man/man1/
dh_installchangelogs ChangeLog
dh_installdocs
dh_compress
+ dh_fixperms
dh_installdeb
dh_gencontrol
dh_builddeb