debian/cubicweb-twisted.prerm
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Mon, 12 May 2014 12:37:19 +0200
changeset 9740 c0239d8ae742
parent 0 b97547f5f1fa
permissions -rw-r--r--
[shell] provide autocompletion for rql queries in cubicweb-ctl shell (closes #3560541) Use the ``rql.suggestions`` component to complete user's input - readline calls the ``complete`` method with user's input, - the ``complete`` method asks for each known completers if it can suggest completions for user's input.

#! /bin/sh -e
 
case "$1" in
    remove)
	if [ -x "/etc/init.d/cubicweb-ctl" ]; then
	    invoke-rc.d cubicweb-ctl stop || true
	fi
    ;;
esac
 
#DEBHELPER#
 
exit 0