diff options
Diffstat (limited to 'modules/buildsystem/templates/sign-check-package')
-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" |