# 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
