From 982cb4d101bde9b6e1e29fe57e23b6ced55b2044 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Thu, 22 Jul 2010 13:42:50 -0400 Subject: [PATCH] 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 --- pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.50.1