debian/cubicweb-twisted.postinst
author Rémi Cardona <remi.cardona@logilab.fr>
Fri, 28 Mar 2014 14:59:33 +0100
changeset 9661 c170ec8a4525
parent 0 b97547f5f1fa
permissions -rw-r--r--
[web/data] Remove broken jquery-json plugin (closes #3590335) Conversion of Date() objects is somehow broken (don't know why beyond that it's due to jquery-json's monkeypatched Date.toJSON() method). Use the now-standard JSON.stringify() instead. http://caniuse.com/#feat=json says it's supported by all browsers, and even IE going back to version 8.

#! /bin/sh -e

if [ -x "/etc/init.d/cubicweb-ctl" ]; then
    invoke-rc.d cubicweb-ctl restart || true
fi
 
 
#DEBHELPER#
 
exit 0