/usr/share/python/runtime.d/pycentral.rtupdate is in python-central 0.6.17ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #! /bin/sh -e
cmd="$1"
oldruntime="$2"
newruntime="$3"
[ "$cmd" = rtupdate ] || exit 0
if which python >/dev/null 2>&1 && which pycentral >/dev/null 2>&1; then
pycentral updatedefault $oldruntime $newruntime
else
echo >&2 "python or pycentral not found in $(basename $0) hook."
exit 1
fi
|