From 0465b5c521e7be529ca8af8049cb1a0ed6ec6c7e Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Tue, 5 Jan 2016 21:42:19 +0000 Subject: Remove the unused python autoscripts snippets Signed-off-by: Niels Thykier --- autoscripts/postinst-python | 7 ------- autoscripts/prerm-python | 3 --- 2 files changed, 10 deletions(-) delete mode 100644 autoscripts/postinst-python delete mode 100644 autoscripts/prerm-python diff --git a/autoscripts/postinst-python b/autoscripts/postinst-python deleted file mode 100644 index 5a1943eb..00000000 --- a/autoscripts/postinst-python +++ /dev/null @@ -1,7 +0,0 @@ -PYTHON=#PYVER# -if which $PYTHON >/dev/null 2>&1 && [ -e /usr/lib/$PYTHON/compileall.py ]; then - DIRLIST="#DIRLIST#" - for i in $DIRLIST ; do - $PYTHON /usr/lib/$PYTHON/compileall.py -q $i - done -fi diff --git a/autoscripts/prerm-python b/autoscripts/prerm-python deleted file mode 100644 index e6e779f8..00000000 --- a/autoscripts/prerm-python +++ /dev/null @@ -1,3 +0,0 @@ -dpkg -L #PACKAGE# | - awk '$0~/\.py$/ {print $0"c\n" $0"o"}' | - xargs rm -f >&2 -- cgit v1.2.3