Commit b8098688 authored by Mark Hymers's avatar Mark Hymers

More cleaning up

Signed-off-by: Mark Hymers's avatarMark Hymers <mark.hymers@ynic.york.ac.uk>
parent d8489650
......@@ -26,12 +26,16 @@ override_dh_auto_build:
override_dh_auto_install:
dh_auto_install
# Remove detritus that gets left over from the test process
rm -f $(CURDIR)/debian/python3-psychopy/usr/lib/*/dist-packages/*.py
rm -f $(CURDIR)/debian/python3-psychopy/usr/lib/*/dist-packages/*.js
rm -f $(CURDIR)/debian/python3-psychopy/usr/lib/*/dist-packages/index.html
# Fix up shebang lines
find $(CURDIR)/debian/python3-psychopy -name '*.py' -print0 | xargs --null -n 1 --no-run-if-empty sed -i 's@#!/usr/bin/env python@#!/usr/bin/python3@'
# Make script executable
find $(CURDIR)/debian/python3-psychopy -name psychopyApp.py -print0 | xargs --null chmod +x
rm -fr $(CURDIR)/debian/python3-psychopy/usr/bin/*
override_dh_auto_clean:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment