debian/cubicweb-ctl.postrm
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Tue, 11 Oct 2011 16:01:44 +0200
branchstable
changeset 7939 e107204d3b27
parent 0 b97547f5f1fa
child 10559 5821ae654dfd
permissions -rw-r--r--
Add a hidden input:submit field in facets form (closes #1988784) <Enter> is supposed to submit the form only if there is a single input:text field. However most browsers will submit the form on <Enter> anyway if there is an input:submit field. see: http://www.w3.org/MarkUp/html-spec/html-spec_8.html#SEC8.2 Firefox 7.0.1 does not submit form on <Enter> if there is more than a input:text field and not input:submit but does it if there is an input:submit. IE 6 or Firefox 2 behave the same way.

#!/bin/sh -e
if [ "$1" = "purge" ] ; then
        update-rc.d cubicweb remove >/dev/null
fi
 
#DEBHELPER#
 
exit 0