From: Todd C. Miller Date: Thu, 22 Jul 2010 17:42:50 +0000 (-0400) Subject: RPM: use %config(noreplace) instead of %config for volatile This X-Git-Tag: SUDO_1_7_4~36 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=982cb4d101bde9b6e1e29fe57e23b6ced55b2044;p=sudo RPM: use %config(noreplace) instead of %config for volatile This results in the new file being installed with a .rpmnew suffix instead of the file being replaced and the old one renamed with a .rpmsave suffix. --HG-- branch : 1.7 --- diff --git a/pp b/pp index f563de8fd..f3030b90a 100755 --- a/pp +++ b/pp @@ -1,6 +1,6 @@ #!/bin/sh # (c) 2010 Quest Software, Inc. All rights reserved -pp_revision="275" +pp_revision="276" # Copyright (c) 2010 Quest Software, Inc. All rights reserved. # @@ -5207,7 +5207,7 @@ pp_rpm_writefiles () { test x"$farch" = x"noarch" || pp_add_to_list pp_rpm_arch_seen $farch fi - case $f in *v*) _l="%config $_l";; esac + case $f in *v*) _l="%config(noreplace) $_l";; esac echo "$_l" done echo