summaryrefslogtreecommitdiff
path: root/debian/pypy-tk.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/pypy-tk.postinst')
-rw-r--r--debian/pypy-tk.postinst22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/pypy-tk.postinst b/debian/pypy-tk.postinst
new file mode 100644
index 0000000..87ad093
--- /dev/null
+++ b/debian/pypy-tk.postinst
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+ configure)
+ pypycompile /usr/lib/pypy/lib_pypy/_tkinter
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
+# vim:set et ts=4 sw=4: