Skip to content

Instantly share code, notes, and snippets.

@carlwgeorge
Created November 10, 2017 21:38
Show Gist options
  • Save carlwgeorge/eed7aaeadc4f30e729af33416be24170 to your computer and use it in GitHub Desktop.
Save carlwgeorge/eed7aaeadc4f30e729af33416be24170 to your computer and use it in GitHub Desktop.

spec file

%config(noreplace) %{_sysconfdir}/recap
%config(noreplace) %{_sysconfdir}/recap.conf

unedited config

before upgrade:

  • /etc/recap - default config

after upgrade:

  • /etc/recap - file with comments about new config location
  • /etc/recap.conf - default config

edited config

before upgrade:

  • /etc/recap - edited config

after upgrade:

  • /etc/recap - edited config
  • /etc/recap.rpmnew - file with comments about new config location
  • /etc/recap.conf - default config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment