diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-02-11 19:54:26 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-02-11 19:54:26 +0000 |
commit | 5f5ef8831c80251cbd865106358473f9adc77cb4 (patch) | |
tree | 1ea2ed5c1dfd2b5c61c8d7c82d827e10d17c9dbd | |
parent | 8d84a2b3d8c833d03170c206c163264b55923eac (diff) | |
download | puppet-5f5ef8831c80251cbd865106358473f9adc77cb4.tar puppet-5f5ef8831c80251cbd865106358473f9adc77cb4.tar.gz puppet-5f5ef8831c80251cbd865106358473f9adc77cb4.tar.bz2 puppet-5f5ef8831c80251cbd865106358473f9adc77cb4.tar.xz puppet-5f5ef8831c80251cbd865106358473f9adc77cb4.zip |
use cp -pf
-rw-r--r-- | modules/buildsystem/templates/sign-check-package | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/buildsystem/templates/sign-check-package b/modules/buildsystem/templates/sign-check-package index de397f02..ab91cafa 100644 --- a/modules/buildsystem/templates/sign-check-package +++ b/modules/buildsystem/templates/sign-check-package @@ -5,12 +5,12 @@ key="$2" keydir="$3" tmpfile=`/tmp/tmp.fMzaAHPDgM` -cp -p "$file" "$tmpfile" +cp -pf "$file" "$tmpfile" rpm --delsign "$tmpfile" /usr/bin/mga-signpackage "$tmpfile" "$key" "$keydir" while rpmsign -Kv "$tmpfile" 2>&1 | grep BAD do - cp -p "$file" "$tmpfile" + cp -pf "$file" "$tmpfile" /usr/bin/mga-signpackage "$tmpfile" "$key" "$keydir" done mv -f "$tmpfile" "$file" |