DOKK / manpages / debian 12 / cme / App::Cme::Command::fix.3pm.en
App::Cme::Command::fix(3pm) User Contributed Perl Documentation App::Cme::Command::fix(3pm)

App::Cme::Command::fix - Fix the configuration of an application

version 1.038

  # fix dpkg (this example requires Config::Model::Dpkg)
  cme fix dpkg

Checks the content of the configuration file of an application (and show warnings if needed), update deprecated parameters (old value are saved to new parameters) and fix warnings are fixed. The configuration is saved if anything was changed. If no changes are done, the file is not saved.

See "Global Options" in cme.

Use option "-from" to fix only a subset of a configuration tree. Example:

 cme fix dpkg -from 'control binary:foo Depends'
    

This option can be repeated:

 cme fix dpkg -from 'control binary:foo Depends' -from 'control source Build-Depends'
    
Filter the leaf according to a pattern. The pattern is applied to the element name to be fixed Example:

 cme fix dpkg -from control -filter Build # will fix all Build-Depends and Build-Depend-Indep
    

or

 cme fix dpkg -filter Depend
    

cme, App::Cme::Command::migrate

Dominique Dumont

This software is Copyright (c) 2014-2022 by Dominique Dumont <ddumont@cpan.org>.

This is free software, licensed under:

  The GNU Lesser General Public License, Version 2.1, February 1999
2022-03-13 perl v5.34.0