Hi,

The following patch (against gpm version 1.20.4-6.1) solved 
the second issue for me (gpm restart and 
gpm_has_mouse_control giving an error).

I hope it will help.

Regards,
JH Chatenet

diff -Naur a/DEBIAN/postinst b/DEBIAN/postinst
--- a/DEBIAN/postinst   2014-11-13 20:28:55.000000000 +0100
+++ b/DEBIAN/postinst   2014-11-13 20:40:37.000000000 +0100
@@ -87,10 +87,12 @@
 
 update-rc.d gpm defaults >/dev/null
 
-db_get gpm/restart
-if [ "$RET" = true ] || /usr/lib/gpm/gpm_has_mouse_control; then
+if ! ischroot; then
+  db_get gpm/restart
+  if [ "$RET" = true ] || /usr/lib/gpm/gpm_has_mouse_control; then
   # Note, yes, this is restart, its ment to be..
-  invoke-rc.d gpm restart
+    invoke-rc.d gpm restart
+  fi
 fi
 
 db_stop


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to