diff --git a/debian/postinst b/debian/postinst
index e3e28bede53c8366a3a629a8ed96385fa8cdf1d0..83ff1534b20e82a7aed181b07689dd618a5bb380 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -7,8 +7,4 @@ if [ -f "/lib/udev/rules.d/95-upower-wup.rules" ]; then
 	killall upowerd || true
 fi
 
-# Automatically added by dh_pysupport
-if which update-python-modules >/dev/null 2>&1; then
-	update-python-modules  robot
-fi
-# End automatically added section
+exit 0
diff --git a/debian/prerm b/debian/prerm
deleted file mode 100755
index 0286e42f7c02b1d67dab0998a517cd6115a588d2..0000000000000000000000000000000000000000
--- a/debian/prerm
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-# Automatically added by dh_pysupport
-if which update-python-modules >/dev/null 2>&1; then
-	update-python-modules -c  robot
-fi
-# End automatically added section