/usr/share/debhelper/autoscripts/postinst-cme is in cme 1.010-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | # In case of error (error in configuration file or model bug), the
# configuration file is left as is.
. /usr/share/debconf/confmodule
db_get %PACKAGE%/auto-upgrade-config
# testing perl is required to avoid problem in embedded environments
if [ "$RET" = true ] && [ -x "/usr/bin/perl" ] && [ -x "/usr/bin/cme" ]
then
cme %COMMAND% %APPNAME% -create -backup dpkg-old -try-app-as-model %OPTION% || \
echo "WARNING: upgrade with cme failed: Run 'sudo cme migrate %APPNAME% %OPTION%'."
fi
|