/usr/share/debhelper/autoscripts/postinst-config-model is in libconfig-model-perl 2.005-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 | # In case of error (error in configuration file or model bug), the
# configuration file is left as is.
# testing perl is required to avoid problem in embedded environements
if [ -x /usr/bin/perl ]
then
echo "config-edit is upgrading %PACKAGE% configuration with model %MODEL%."
config-edit -model %MODEL% -ui none -save %OPTION% || \
echo "WARNING: upgrade with config-edit failed: Run 'config-edit -model %MODEL% -force %OPTION%' and save the configuration."
fi
|