[debhelper-devel] [debhelper] 01/01: Remove the unused python autoscripts snippets

Niels Thykier nthykier at moszumanska.debian.org
Tue Jan 5 21:42:26 UTC 2016


This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository debhelper.

commit 0465b5c521e7be529ca8af8049cb1a0ed6ec6c7e
Author: Niels Thykier <niels at thykier.net>
Date:   Tue Jan 5 21:42:19 2016 +0000

    Remove the unused python autoscripts snippets
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 autoscripts/postinst-python | 7 -------
 autoscripts/prerm-python    | 3 ---
 2 files changed, 10 deletions(-)

diff --git a/autoscripts/postinst-python b/autoscripts/postinst-python
deleted file mode 100644
index 5a1943e..0000000
--- 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 e6e779f..0000000
--- 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git




More information about the debhelper-devel mailing list